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] [-j com‐
10 mand] [-l] [-c] [-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 -j command
48 Only look for jobs that contain command as a substring.
49
50 -l Print the whole entries of the jobs that are the next to be exe‐
51 cuted by cron. The default is to only print their next time of
52 execution.
53
54 -c Print every entry in every crontab with the next time it is exe‐
55 cuted.
56
57 -f Print all jobs that are executed in the given interval. Requires
58 option -q.
59
60 -h Print usage output and exit.
61
62 -V Print version and exit.
63
65 Marco Migliori ⟨sgerwk@aol.com⟩
66
68 cron(8), cron(1), crontab(5), crontab(1), anacron(8), anacrontab(5),
69 atq(1), date(1)
70
71
72
73cronie 2017-06-11 CRONNEXT(1)