cron schedule and incorrect server time

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

cron schedule and incorrect server time

Postby jdbruijn » Mon Apr 29, 2019 11:01 am

If I create a cron job that runs every hour, on the hour. And the cron function does application.output(utils.dateFormat(new Date(), 'HH:mm')).
What should the result be when the (Windows) server time is not correct?
I expect the output to always be exactly on the hour, but that is not what is happening. Have seen it a couple of minutes off.
Jos de Bruijn
Welcome CCS
Servoy Certified Developer
Posts: 478
Joined: Sun Apr 11, 2010 6:34 pm

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 1 guest