Gauravk Posted January 7, 2022 Posted January 7, 2022 Please advise which timezone IPS uses for task scheduler? Server US local client based on admin logins How to instruct "strictly" to use certain country time zone?
Marc Posted January 7, 2022 Posted January 7, 2022 I would be the time based on your server. There is no way in which you can set it to use another timezone
Gauravk Posted January 7, 2022 Author Posted January 7, 2022 1 minute ago, Marc Stridgen said: I would be the time based on your server. There is no way in which you can set it to use another timezone Are you 100% sure about this? Please confirm.
Marc Posted January 7, 2022 Posted January 7, 2022 35 minutes ago, Gauravk said: Are you 100% sure about this? Please confirm. Sorry, its actually UTC. As Daniel mentioned however, it would be helpful to know what issue it is you are having. InfinityRazz 1
Gauravk Posted January 7, 2022 Author Posted January 7, 2022 Which UTC it follows? And how to change? We have developed an app, that accepts the waitlist for members to join certain event in calendar. And at certain specific time and day of the week they move to RSVP list as attendees from the waitlist.
Marc Posted January 7, 2022 Posted January 7, 2022 There is no way in which to change the timezone, and there is only one UTC. This would be outside the scope of support. I have moved this to our development forum for you
Gauravk Posted January 7, 2022 Author Posted January 7, 2022 We want to run a task (New app) to run certain task at sharp 00:00 hrs (midnight), plus minus few minutes is acceptable but not lag of 10-12 hours. Can anyone please help here?
Stuart Silvester Posted January 7, 2022 Posted January 7, 2022 The task system isn't designed to run tasks at specific times, what you want to do isn't possible. Instead, you may want to have a cron on your server run a file in your apps interface folder at a specific time instead. Gauravk 1
Nathan Explosion Posted January 7, 2022 Posted January 7, 2022 Or you could run the task every 5 minutes, and within the tasks code you check to see what the current time is and execute the task code only if it matches to the time you want? IveLeft... 1
Daniel F Posted January 7, 2022 Posted January 7, 2022 Probably a weird solution, but if you can't set up a cron on your shared webspace and if you're using Zapier, you could also use the Scheduled Action to trigger a request at midnight. https://zapier.com/apps/schedule/integrations
Gauravk Posted January 7, 2022 Author Posted January 7, 2022 We are on dedicated server running cpanel with root access, so can we do something at server level to run file/s at exact specific time required? If yes, please advise the step so I can create a schedule task or cron and then ask programmer for filename and location to run that.
Randy Calvert Posted January 7, 2022 Posted January 7, 2022 https://blog.cpanel.com/how-to-configure-a-cron-job/ You would write a script to do whatever action you want, and then tell the cron to run it on whatever schedule/frequency you want. Gauravk 1
Recommended Posts