logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cronnext - time of next job cron will execute

Author

       Marco Migliori

Description

       Determine the time cron will execute the next job.  Without arguments, it prints  that  time  considering
       all  crontabs,  in number of seconds since the Epoch, rounded to the minute. This number can be converted
       into other formats using date(1), like date--date@43243254

       The file arguments are optional. If provided,  cronnext  uses  them  as  crontabs  instead  of  the  ones
       installed in the system.

Name

       cronnext - time of next job cron will execute

Options

-iuser,user,user,...
              Consider only the crontabs of the specified users.  Use *system* for the system crontab.

       -euser,user,user,...
              Do not consider the crontabs of the specified users.

       -s     Do  not  consider  the  system crontab, usually the /etc/crontab file.  The system crontab usually
              contains the hourly, daily, weekly  and  monthly  crontabs,  which  might  be  better  dealt  with
              anacron(8).

       -a     Use the crontabs installed in the system in addition to the ones passed as file arguments. This is
              implicit if no file is passed.

       -ttime
              Determine the next job from this time, instead of now.  The time is expressed in number of seconds
              since  the  Epoch,  as  obtained for example by date+%s--date"now+2hours", and is internally
              rounded to the minute.

       -qtime
              Do not check jobs over this time, expressed in the same way as in option -t.

       -jcommand
              Only look for jobs that contain command as a substring.

       -l     Print the whole entries of the jobs that are the next to be executed by cron.  The default  is  to
              only print their next time of execution.

       -c     Print every entry in every crontab with the next time it is executed.

       -f     Print all jobs that are executed in the given interval. Requires option -q.

       -h     Print usage output and exit.

       -V     Print version and exit.

See Also

cron(8), cron(1), crontab(5), crontab(1), anacron(8), anacrontab(5), atq(1), date(1)

cronie                                             2017-06-11                                        CRONNEXT(1)

Synopsis

cronnext [-iusers]  [-eusers]  [-s]  [-a]  [-ttime] [-qtime] [-jcommand] [-l] [-c] [-f] [-h] [-V]
                [file]...

return

See Also