Menu

Topic-icon Cron not finishing

  • chrishall57
  • chrishall57's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 year 5 months ago #4773 by chrishall57
Cron not finishing was created by chrishall57
Hi, quite often I login to SPCC and notice that the last contact for my sites is maybe 2 or 3 days even though the cron is set to run every 24 hours.

When I then try to refresh info for all the sites I get a message that there is still a cron running.

Seems it's hanging somewhere and not completing. Any way to find out?

Thanks.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #4774 by Jose
Replied by Jose on topic Cron not finishing
Hi Chris,

Could there be a limit on the time runing the scripts? Despite I try to overwrite this limit, on some shared hosting providers this is not allowed.

If you select all your websites and launch a refresh task manually, does it end?

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • chrishall57
  • chrishall57's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 year 5 months ago #4775 by chrishall57
Replied by chrishall57 on topic Cron not finishing
Hi Jose,
Only control I have over time is the max script execution time in php options which is currently set to 300s.
A manual refresh may end but often it takes so long I never see it finish as I go to do something else.
Do you know if there are any particular files that may slow things down? zip files etc?
Chris

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #4776 by Jose
Replied by Jose on topic Cron not finishing
Hi Chris,

No, it doesn't matter if there are zipped files because the "refresh task" only take basic info about the sites. In the nex version of Control Center I will include a log to check if something goes wrong to solve cases like this.

Regards,
Jose
The following user(s) said Thank You: chrishall57

Please Log in or Create an account to join the conversation.

  • chrishall57
  • chrishall57's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 year 5 months ago #4779 by chrishall57
Replied by chrishall57 on topic Cron not finishing
Thank you Jose, I look forward to it!

Chris

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #4780 by Jose
Replied by Jose on topic Cron not finishing
You're welcome Crhis!! :)

Regards,
Jose

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum

Login or Sign In