EDRC/ECRONNEXT

Package: WA2L/edrc 1.5.57
Section: User Commands (1)
Updated: 24 February 2023
Index Return to Main Contents

 

NAME

ecronnext - time of next job cron will execute (cron in WA2L/edrc)

 

SYNOPSIS

edrc/bin/ecronnext
[-i users] [-e users] [-s] [-a] [-t time] [-q time] [-j command] [-l] [-c] [-f] [-h] [-V] [file]...

 

DESCRIPTION

Determine the time crond 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, ecronnext uses them as crontabs instead of the ones installed in the system.

 

OPTIONS

-i user,user,user,...
Consider only the crontabs of the specified users. Use *system* for the system crontab.
-e user,user,user,...
Do not consider the crontabs of the specified users.
-s
Do not consider the system crontab, usually the edrc/etc/crontab file. The system crontab usually contains the hourly, daily, weekly and montly crontabs.
-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.
-t time
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 dqnow + 2 hoursdq, and is internally rounded to the minute.
-q time
Do not check jobs over this time, expressed in the same way as in option -t.
-j command
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 crond(3). 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.

 

AUTHOR

Marco Migliori <sgerwk@aol.com>

 

SEE ALSO

edrcintro(1), crond(3), crontab(4), date(1), ecrontab(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
SEE ALSO

This document was created by man2html using the manual pages.
Time: 16:52:47 GMT, August 28, 2024