1CRONNEXT(1) User Commands CRONNEXT(1)
2
3
4
6 cronnext - time of next job cron will execute
7
9 cronnext [-i users] [-e users] [-s] [-a] [-t time] [-q time] [-l] [-c]
10 [-f] [-h] [-V] [file]...
11
13 Determine the time cron will execute the next job. Without arguments,
14 it prints that time considering all crontabs, in number of seconds
15 since the Epoch, rounded to the minute. This number can be converted
16 into other formats using date(1), like date --date @43243254
17
18 The file arguments are optional. If provided, cronnext uses them as
19 crontabs instead of the ones installed in the system.
20
22 -i user,user,user,...
23 Consider only the crontabs of the specified users. Use *system*
24 for the system crontab.
25
26 -e user,user,user,...
27 Do not consider the crontabs of the specified users.
28
29 -s Do not consider the system crontab, usually the /etc/crontab
30 file. The system crontab usually contains the hourly, daily,
31 weekly and montly crontabs, which might be better dealt with
32 anacron(8).
33
34 -a Use the crontabs installed in the system in addition to the ones
35 passed as file arguments. This is implicit if no file is passed.
36
37 -t time
38 Determine the next job from this time, instead of now. The time
39 is expressed in number of seconds since the Epoch, as obtained
40 for example by date +%s --date "now + 2 hours", and is inter‐
41 nally rounded to the minute.
42
43 -q time
44 Do not check jobs over this time, expressed in the same way as
45 in option -t.
46
47 -l Print the whole entries of the jobs that are the next to be exe‐
48 cuted by cron. The default is to only print their next time of
49 execution.
50
51 -c Print every entry in every crontab with the next time it is exe‐
52 cuted.
53
54 -f Print all jobs that are executed in the given interval. Requires
55 option -q.
56
57 -h Print usage output and exit.
58
59 -V Print version and exit.
60
62 Marco Migliori ⟨sgerwk@aol.com⟩
63
65 cron(8), cron(1), crontab(5), crontab(1), anacron(8), anacrontab(5),
66 atq(1), date(1)
67
68
69
70cronie 2017-06-11 CRONNEXT(1)