CRONNEXT(1)
β¨ CRONNEXT(1) β¨
okay bestie, welcome to cronnext, section 1 of the User Commands manual, and let me just say β this little cutie is about to tell you exactly when cron is gonna do its thing next. no more guessing, no more staring at crontabs like ποΈπποΈ. we're getting answers. periodt.
πΈ NAME πΈ
cronnext β time of next job cron will execute
π¦ SYNOPSIS π¦
cronnext [-i users] [-e users] [-s] [-a] [-t time] [-q time] [-j
command] [-l] [-c] [-f] [-h] [-V] [file]...
π DESCRIPTION π
So here's the vibe: cronnext figures out the time when cron is gonna execute the next job. that's it, that's the whole main character moment. π
With no arguments at all, it prints that time considering all the crontabs, expressed as the number of seconds since the Epoch, rounded to the minute. and because that's just a big ol' number, you can convert it into literally any other format using date(1), like:
date --date @43243254
ngl that's the move. π«Ά
The file arguments are optional, bestie β they're not required. But if you do pass them, cronnext uses them as crontabs instead of the ones installed in the system. so you're basically saying "hey, read these instead." iconic behavior.
π OPTIONS π
-iuser,user,user,... β Only consider the crontabs of the specified users. oh and btw, use*system*for the system crontab. yup, that's a literal keyword, not a glob. iykyk.-euser,user,user,... β Do not consider the crontabs of the specified users. the opposite of-i, the villain arc. π-sβ Do not consider the system crontab, usually the/etc/crontabfile. and heads up, the system crontab usually contains the hourly, daily, weekly and monthly crontabs, which might be better dealt with byanacron(8). so like, maybe let anacron handle that, bestie.-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. so it's giving "why not both?" energy.-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 bydate +%s --date "now + 2 hours", and is internally rounded to the minute. time travel but make it shell. β°-qtime β Do not check jobs over this time, expressed in the same way as in option-t. so you're capping the search window.-jcommand β Only look for jobs that contain command as a substring. filter by command, slay.-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, so this is the "give me the full tea" option. π-cβ Print every entry in every crontab with the next time it is executed. all of them. no skips. we love a completionist. β¨-fβ Print all jobs that are executed in the given interval. Requires option-q. do not forget your-q, bestie, it will not work without it. π-hβ Print usage output and exit. the "help meee" button.-Vβ Print version and exit. the "who even are you" button.
π AUTHOR π
Marco Migliori β the genius behind all this, we stan. π
π SEE ALSO π
cron(8), cron(1), crontab(5), crontab(1), anacron(8), anacrontab(5), atq(1), date(1)
go read those too, fr fr, they're the extended universe. π
okay that's the whole page, bestie! this absolute banger of a manpage comes to you from cronie, dated 2017-06-11 β vintage but still eating. πβ¨π stay scheduled, stay slay. π¦
π¦ where this page comes from
- alpine 3.24: cronie-doc 1.7.2-r1 Β· ISC
- arch rolling: cronie 1.7.2-2 Β· custom:BSD
- centos-stream 10: cronie 1.7.0-15.el10 Β· GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later
- debian trixie: cronie 1.7.2-4 Β· ISC
- fedora 43: cronie 1.7.2-12.fc43 Β· GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later
- fedora 44: cronie 1.7.2-16.fc44 Β· GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later
- nixpkgs unstable: cronie 1.7.2
- opensuse-leap 16.0: cronie 1.7.2-160000.2.2 Β· BSD-3-Clause AND GPL-2.0-only AND MIT
- opensuse-leap 16.0: cronie 1.7.2-160000.2.2 Β· BSD-3-Clause AND GPL-2.0-only AND MIT
- opensuse-leap 16.0: cronie 1.7.2-160000.2.2 Β· BSD-3-Clause AND GPL-2.0-only AND MIT
- opensuse-leap 16.0: cronie 1.7.2-160000.2.2 Β· BSD-3-Clause AND GPL-2.0-only AND MIT
- ubuntu noble: cronie 1.7.1-1 Β· ISC
- ubuntu questing: cronie 1.7.2-4
- ubuntu resolute: cronie 1.7.2-4build1 Β· ISC
- ubuntu stonking: cronie 1.7.2-5 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms