Jump to content

Cron running in wrong time...


Recommended Posts

Cron is running every 5 minutes. Last Run will say the time that cron runned by script on server.

For example, I got Cron Status says Last Run: 12/02/2019 04:50 but I have set the Scheduling Time of the Day at 5:00 am (of the server), to adjust with the time I want to run. At WHMCS I got the correct local time (no server).

At cPanel I've set to run every 5 mins and thats it.

Link to comment
Share on other sites

@pRieStaKos Thanks for your reply. Actually I have set both the server time and whmcs time to my time zone. Even though the daily automated action is not running at my required time.

I have set the the daily automated actions at 8am. But it's performing the action at 1:30pm (5.30hrs later)

Could you suggest a resolution for this?

Link to comment
Share on other sites

I saw from the beginning of the transfer to my new that the time is set to host local time. So I tried to set it by php.ini to my local time (Europe/Athens), but i checked that it was not working for cron jobs.

So I calculate the hours to set it to run at 12:00 of my local time, 05:00 am server time. And it's fine for me.

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