in reply to Re: Running a script daily
in thread Running a script daily

Agree with all the above postings. My additional thought would be to stay away from any boundary condition that might either be confusing or potentially produce erroneous results.

The date changes at 00:00:00 (midnight), but sometimes 24:00:00 is used to mean the same time but with the date before. A time like 2:00 AM local can be trouble too as 2 AM can occur twice when this daylight savings time "go backwards" stuff happens. I often pick a number like 3:19 AM or 4:43 AM for these chron or task scheduler jobs for the simple reason of avoiding these issues.