Jump to content

[Answered] Delay Executing Cron Jobs


zimmer

Recommended Posts

Hello,

 

I have created a python script which should be regularly executed at 01:00 AM. Unfortunately, the job is executed or finished at 10:00 AM (I get the notification about executing at this time). The python script only downloads a file from an other site and stores it on heliohost. Does it take so much time to download the file or why is there a delay in execution of cron jobs?

 

Kind Regards

J. Z.

Link to comment
Share on other sites

To find out what time the server thinks it is, and hence what cron jobs it will be running, I think the easiest way is to create a server_time.php file with these contents:

<?php
echo date("H:i", time());

It will show the hours in 24 hour time too just like the cron jobs use.

 

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.

×
×
  • Create New...