Jump to content

[Answered] Cron Settings For Est/edt


krkruk

Recommended Posts

Hi,

 

I've just started using the Helio server. So far, everything looks nice.

However, I want to use the hosting to create a CRON job, which would collect some stats once a day for a server which is in EST/EDT timezone.

I'de like to ask, what time in CRON settings should I use, to run it at 23:59 that server time?

Also, will the settings hold after the time for the timezone will change from EST to EDT and vice versa?

I'm on the johnny server, if that matters.

Link to comment
Share on other sites

Ok, cool. Though, the time will only be needed to start the cron job. From PHP there will be just a couple of JSON requests started from the job and several dozens of responses a day to a TamperMonkey script. I just needed the start time, because after midnight stats for a current day on the server (EyeWire) are reset.

Edited by krkruk
Link to comment
Share on other sites

For potential future readers:

 

23:59 EST/EDT would be 02:59 PST/PDT.

After some testing (and looking at a map xD), it's actually the other way around - 02:59 EST/EDT would be 23:59 PST/PDT, so the setting from the title should be 20:59.

Nonetheless, the PHP timezone setting function turned out to be quite useful :)

Link to comment
Share on other sites

Rereading my post that's totally what I meant to say. Thanks for pointing it out. These forums are a great source of information for people who have the same issue in the future to search and find their answers, but it's best if the information is correct. I edited my post.

  • Like 1
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...