osTicket / osTicket-1.7

osTicket-1.7
GNU General Public License v2.0
232 stars 178 forks source link

Cron.php #479

Open dustinco opened 11 years ago

dustinco commented 11 years ago

Cron.php is no longer working after upgrade to rc5

protich commented 11 years ago

How are you calling the script? http or local (cli)?

dustinco commented 11 years ago

Locally when I replaced the cron.php with the one in RC4 it started to work again not sure if it was corrupt or what but the one in RC5 kept saying it must be run via local not http

Sent from my iPhone

On Feb 23, 2013, at 10:08 PM, Peter Rotich notifications@github.com wrote:

How are you calling the script? http or local (cli)?

— Reply to this email directly or view it on GitHubhttps://github.com/osTicket/osTicket-1.7/issues/479#issuecomment-14002592.

protich commented 11 years ago

You must be calling it over http then - please post the exact crontab entry, if possible.

Http calls must now use /api/task/cron - with API Key. cron.php is limited to local cli execution.

dustinco commented 11 years ago

This Is the command line

php -q /home4/thedust2/public_html/help/api/cron.php

Sent from my iPhone

On Feb 23, 2013, at 10:30 PM, Peter Rotich notifications@github.com wrote:

You must be calling it over http then - please post the exact crontab entry, if possible.

Http calls must now use /api/task/cron - with API Key. cron.php is limited to local cli execution.

— Reply to this email directly or view it on GitHubhttps://github.com/osTicket/osTicket-1.7/issues/479#issuecomment-14002808.

protich commented 11 years ago

That should work - if possible shoot me an email and let's debug it tomorrow or on Monday. Meanwhile enable polling on auto-cron - Admin Panel > Settings > Tickets.

protich commented 11 years ago

@dustinco - just a quick update. Managed to track down the issue - a fix is in the works. Feel free to replace cron.php with RC4 version - for now.

dustinco commented 11 years ago

Thank you that's what I did I just been so busy with work to get back with you to help u isolate the problem again thank you!

Sent from my iPhone

On Feb 27, 2013, at 10:46 PM, Peter Rotich notifications@github.com wrote:

@dustinco https://github.com/dustinco - just a quick update. Managed to track down the issue - a fix is in the works. Feel free to replace cron.php with RC4 version - for now.

— Reply to this email directly or view it on GitHubhttps://github.com/osTicket/osTicket-1.7/issues/479#issuecomment-14215253 .