Nullified
11-17-2004, 07:22 PM
I recently setup a few cronjobs and they aren't working correctly. I did it through cpanel's cronjob feature. I get the following error in my mail:
/bin/sh: line 1: /public_html/billing/include/scripts/run_background_queue.inc.php: No such file or directory
If I edit the cronjobs and take out the / before public_html it gives me the following error:
/bin/sh: line 1: public_html/billing/include/scripts/run_background_queue.inc.php: Permission denied
These errors are the same for each cronjob (just different script names).
My crontab looks like this:
MAILTO="hlh"
0,15,30,45 0 * * * /public_html/billing/include/scripts/run_auto_enable.cron.php
0 * * * * /public_html/billing/include/scripts/run_auto_suspend.cron.php
*/15 * * * * /public_html/billing/include/scripts/run_background_queue.inc.php
0 0 * * * /public_html/billing/include/scripts/generate_invoices_daily.inc.php
10 0 * * * /public_html/billing/include/scripts/run_background_batch.inc.php
Can someone please tell me what I am doing wrong?
/bin/sh: line 1: /public_html/billing/include/scripts/run_background_queue.inc.php: No such file or directory
If I edit the cronjobs and take out the / before public_html it gives me the following error:
/bin/sh: line 1: public_html/billing/include/scripts/run_background_queue.inc.php: Permission denied
These errors are the same for each cronjob (just different script names).
My crontab looks like this:
MAILTO="hlh"
0,15,30,45 0 * * * /public_html/billing/include/scripts/run_auto_enable.cron.php
0 * * * * /public_html/billing/include/scripts/run_auto_suspend.cron.php
*/15 * * * * /public_html/billing/include/scripts/run_background_queue.inc.php
0 0 * * * /public_html/billing/include/scripts/generate_invoices_daily.inc.php
10 0 * * * /public_html/billing/include/scripts/run_background_batch.inc.php
Can someone please tell me what I am doing wrong?
