On Fri, May 8, 2020 at 3:16 AM 'Vikram Ingawale' via golang-nuts <
golang-nuts@googlegroups.com> wrote:

> I am using the standard cron <https://godoc.org/gopkg.in/robfig/cron.v2> 
> package
> to schedule cron job at midnight. but my cron job is not started at night
> time.
>
> for day time it works properly .
>
> my cron expression is 0 15 3 * * * means at midnight 03:15 AM daily
>

I don't see what this has to do with Go but the problem is your crontab
spec says to run the job at 15:00 hours on the third day of each month.
Remove the leading "0".

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD-WseBgM61O0RfOT%3DDtMA4Z0OXW%3DLqrh3j7ePhb_N8QxQ%40mail.gmail.com.

Reply via email to