coffee23 Posted August 23, 2006 Share Posted August 23, 2006 Hi, I have noticed that our cron is not working as it should do (it working fine a couple of days ago). I have tried both commands in cpanel and neither seem to be working right. Any Ideas or advice? 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 23, 2006 Author Share Posted August 23, 2006 Hi, The following is sending out invoice reminders: /usr/bin/php -q /home/#######/public_html/billing/admin/cron.php > /dev/null However i am not getting any email confirmations of the cron job, nor is it updating the usage stats (box is checked in admin). 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 23, 2006 Share Posted August 23, 2006 your not supposed to get email confirmations of the crons, thats why it says /dev/null ad the end of the command. Cant answer the stats issue though. 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 23, 2006 Author Share Posted August 23, 2006 Hi, Well thats strange because i used to get an email from the system letting me know what it had done. i.e. x accounts suspended x accounts invoiced and so on... 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 23, 2006 Share Posted August 23, 2006 ah, well that email wouldnt be from cron, it would be from whmcs. So with the settings you have setup now, failed cron notices wouldnt be emailed to you. 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted August 23, 2006 Share Posted August 23, 2006 Hey, If you look on whmcs/admin/configauto.php or Configuration > Automation Settings you can check what to be sent.... I also recommend that you use the second cron job via cPanel and not PHP... From, Adam 0 Quote Link to comment Share on other sites More sharing options...
chrishaley Posted August 23, 2006 Share Posted August 23, 2006 Yep, I still get that one...are you sure the Email Address field under the General Configuration screen is set right? 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 23, 2006 Author Share Posted August 23, 2006 Hi, The email address is correct in the general configuration. When i run the linux cron all i get is the following in an email: '.__FILE__.' has been encoded with the [1]ionCube PHP Encoder and requires the free '.basename($__ln).' [2]ionCube PHP Loader to be installed.');exit(199); ?> 0y4hYD04GfaDphRUCzJNklafgbpk+jgWu+SxqgL3kVkygQwMUYf7t7LNGRFuBO2D7fZYb7brH5kJ byEAdqWt9n6p3XnzNvWw7natdupQcZabI0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CKmh2hgAiQXtJDFiNJHzYvfeDT2PfWbKn1oPwRPiQJ9u0Ayq5aeynC8usUhgZ/RKfx8ndxVVW P5xBhsKBZ8aRVBO0uA9DFUMyFyKqk0== References 1. [url]http://www.ioncube.com/[/url] 2. [url]http://www.ioncube.com/loaders.php[/url] Also the linux cron dont send me a invoice reminder (on a temp account) but the PHP one does. 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 23, 2006 Author Share Posted August 23, 2006 Hi, Just to add to the above post, when i got the above this morning i did request that our sys admin install ioncube on the server (as i thought it might be something to do with that), and he notified me that it was installed. EDIT: I just ran "grep username /var/log/cron" in SSH and got the below on the two crons: Aug 23 16:30:01 host crond[25220]: (username) CMD (/usr/bin/php -q /home/username/public_html/billing/admin/cron.php > /dev/null) Aug 23 16:35:40 host /usr/bin/crontab[25607]: (username) REPLACE (username) Aug 23 16:36:01 host crond[15699]: (username) RELOAD (cron/username) Aug 23 17:05:13 host /usr/bin/crontab[28874]: (username) LIST (username) Aug 23 17:05:13 host /usr/bin/crontab[28876]: (username) LIST (username) Aug 23 17:05:28 host /usr/bin/crontab[28912]: (username) REPLACE (username) Aug 23 17:05:32 host /usr/bin/crontab[28917]: (username) LIST (username Aug 23 17:05:32 host /usr/bin/crontab[28919]: (username) LIST (username) Aug 23 17:06:01 host crond[15699]: (username) RELOAD (cron/username) Aug 23 17:09:01 host crond[29116]: (username) CMD (lynx -dump /home/username/public_html/billing/admin/cron.php) Aug 23 17:21:37 host crontab[29952]: (root) BEGIN EDIT (username) Aug 23 17:21:47 host crontab[29952]: (root) END EDIT (username) 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 24, 2006 Author Share Posted August 24, 2006 Hi, Just an update to say that the cron did not suspend the accounts that should have been suspended this morning. I have got both commands running (linux & PHP). 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted August 24, 2006 Share Posted August 24, 2006 Hey, Looks like this is something that needs to be talked about in a support ticket as I think you are missing files or your server is not having cron jobs enabled. http://support.whmcs.com/submitticket.php From, Adam 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 24, 2006 Author Share Posted August 24, 2006 Hi, I have sent in a ticket. i thought it could be the cron not working but the cpanel updates and account backups are all working ok, thought i am not sure if the cron can mess up for just one account or not... 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 25, 2006 Share Posted August 25, 2006 i more think its a corrupt file or wrong cron command to run execute php files on your server. 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted August 25, 2006 Share Posted August 25, 2006 Hey, You can make sure all your files were uploaded and make sure they were NOT upload in that ASCII mod but 10101 mod.. From, Adam 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 25, 2006 Author Share Posted August 25, 2006 Hi, I will re-upload the updates in binary(sp) mode as i can't recall if they was or not. I do recall the first upload was done in binary(sp) mode. i will let you all know how i get on. 0 Quote Link to comment Share on other sites More sharing options...
coffee23 Posted August 25, 2006 Author Share Posted August 25, 2006 Hi, Nope no luck. 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.