Jump to content

Cron not running?


xxkylexx

Recommended Posts

Hello,

 

My cron job had been running fine which updated all the stats for WHMCS, and I was getting emails each day. For the past couple days I noticed I hadn't been getting any more emails. So, I had a look in the admin area and noticed this:

 

Disk Space Usage Stats Last Updated at 05/08/2006 09:00 - Update Now (WARNING: May Take Some Time)

 

 

This shows that my cron hasnt run since May 8th, about 6 days.

 

So, I checked my cPanel crons and the cronjob is still set up in there. Any idea why this wouldn't be running?

 

 

Kyle

Link to comment
Share on other sites

I did some playing around with the cron in cPanel and it seems to be working fine now. Also, I removed the null on the command of an email being sent out to make sure cPanel was resolving the cron ok, and in those emails, I get the following:

 

 

Warning: session_start(): Cannot send session cookie - headers already sent in /home/websolve/public_html/members/dbconnect.php on line 5

 

 

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/websolve/public_html/members/dbconnect.php:5) in /home/websolve/public_html/members/dbconnect.php on line 5

 

 

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/websolve/public_html/members/admin/cron.php on line 55

 

 

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/websolve/public_html/members/admin/cron.php on line 63

 

 

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/websolve/public_html/members/admin/cron.php on line 71

 

 

 

WHM Usage Statistics Updated Successfully!</p>

 

 

Is it normal for it to be generating those errors?

 

 

Kyle

Link to comment
Share on other sites

  • 1 year later...

I've been getting these emails recently also. Everything seems to work properly, but I'm concerned there might be an issue later on if I don't sort this out.

 

I'm particularly concerned about this bit

/admin/../dbconnect.php:0

 


[b]Warning[/b]:  session_start() [[url='function.session-start']function.session-start[/url]]: Cannot send session cookie - headers already sent in [b]/home/xx/public_html/clients/admin/../dbconnect.php[/b] on line [b]0[/b]



[b]Warning[/b]:  session_start() [[url='function.session-start']function.session-start[/url]]: Cannot send session cache limiter - headers already sent (output started at /home/xx/public_html/clients/admin/../dbconnect.php:0) in [b]/home/xx/public_html/clients/admin/../dbconnect.php[/b] on line [b]0[/b]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated