Homepage
Recent Changes
Search:
History of 2021-07-19 Sorting crontab chronologically
2021-08-09
07:38 UTC
Revision 2
. . . .
mbork
–
+categories
(minor)
2021-07-19
17:56 UTC
Revision 1
. . . .
mbork
–
On one of the computers I work on there is a pretty extensive crontab file, with many tasks carefully scheduled so that they run every day in a specific order. No wonder I would like to be able to sort all the crontab entries chronologically, i.e., in the order of the time they should be called. (I don’t care about the dates, since most of these tasks are scheduled to run every day.) The problem is that (for some mysterious reason) the crontab file format requires putting the minutes first and the hours next.