Trying to set up a cron job and was wondering if i had an incomplete cron.php file. because it doesn't seem to be working.<?php/*********************************************************************    cron.php    File to handle LOCAL cron job calls.    Peter Rotich <peter@osticket.com>    Copyright (c)  2006-2013 osTicket    http://www.osticket.com    Released under the GNU General Public License WITHOUT ANY WARRANTY.    See LICENSE.TXT for details.    vim: expandtab sw=4 ts=4 sts=4:**********************************************************************/@[deleted](dirname(__FILE__).'/'); //Change dir.require('api.inc.php'); if (!osTicket:())    die(__('cron.php only supports local cron calls - use http -> api/tasks/cron')); require_once(INCLUDE_DIR.'api.cron.php');LocalCronApiController:();?>

You can answer this yourself in a variety of ways.1. download the archive from osticket.com/download and compare them.2. go to github and the tag for your version and compare them. https://github.com/osTicket/osTicket-1.8/blob/develop/api/cron.php

Ok well it seems like i have the same script.  is there a php.ini file anywhere on osticket?

No... ?  I'm not sure why you would ask that.

Write a Reply...