Evaske Posted October 13, 2013 Report Posted October 13, 2013 Getting this issue: Cron has not run in the past 24 hours. Invoices have not been automatically created via cron in the past 24 hours. It's fine when I run it manually but for some reason it isn't running automatically. I have the cron set up in CPanel correctly though. This is in my Cpanel: */5 * * * * /usr/bin/php /home/evaske/public_html/Clients/index.php cron This is what the error throws up: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr"> <head> <title>Blesta</title> <link rel="stylesheet" type="text/css" href="/app/views/errors/css/styles.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div class="program_error"> <h3>Oh noes!</h3> <div class="contents"> <p>Undefined variable: argv on line <strong>30</strong> in <strong>/home/evaske/public_html/Clients/index.php</strong></p> </div> </div> </body> </html> Quote
0 Evaske Posted October 13, 2013 Author Report Posted October 13, 2013 Nevermind. Fixed it. With me using CloudLinux it meant I had to enable register_argc_argv for my individual account rather than for the general server. Quote
Question
Evaske
Getting this issue:
Cron has not run in the past 24 hours. Invoices have not been automatically created via cron in the past 24 hours.
It's fine when I run it manually but for some reason it isn't running automatically. I have the cron set up in CPanel correctly though.
This is in my Cpanel:
*/5 * * * * /usr/bin/php /home/evaske/public_html/Clients/index.php cron
This is what the error throws up:
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.