erwin123 Posted October 28, 2015 Share Posted October 28, 2015 I upgraded my WHMCS to 6.1 and ever since I receive each morning an email: ------------- This cron file was invoked from a legacy filepath. WHMCS currently provides backwards compatibility for legacy paths so that your scheduled cron tasks will continue to invoke a valid WHMCS cron file. It is recommended however that you update the cron task command on your server at your earliest convenience. For more information, please refer to http://docs.whmcs.com/Cron_Tasks#Legacy_Cron_File_Locations ------------ I've read the documentation but still its not quite clear what it is about and what changed. Is it about moving my current crons to a new location? Are old cron files replaced by new cronfiles on a new location? Sorry, must be because I'm not native english or because I'm just slow My current crons: ----------------- Once a day php -q /path/site/cron.php every five hours php -q /path/site/crons/domainsync.php every two minutes php -q /path/site/pop.php ---------------- The automation settings tell me to add a cron: php -q /path/site/crons/cron.php Now what do I need to change exactly? Just add this single cron? Or remove other crons? Move crons to a different location? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
erwin123 Posted October 29, 2015 Author Share Posted October 29, 2015 I know its probably a stupid question, bu t I still hope someone can answer it. Its not clear to me what needs to be done to the cron after the update... 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 29, 2015 Share Posted October 29, 2015 what was the previous version? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 29, 2015 Share Posted October 29, 2015 since WHMCS v6 all cron related files can be find inside the same folder "crons" instead of the "admin" folder, you can move this folder to any path and link it with your WHMCS from configuration.php, and you will need to replace the old cron job commands to use the new path of (cron.php, pop.php, domainsync.php, etc). 0 Quote Link to comment Share on other sites More sharing options...
erwin123 Posted October 29, 2015 Author Share Posted October 29, 2015 Thanks, thats clear. Same files just different location. 0 Quote Link to comment Share on other sites More sharing options...
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.