Jump to content

Recommended Posts

Posted

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.

Posted

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.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...