]> git.armaanb.net Git - bin.git/blob - man/crontab-argh.1.scd
man: fix man link bold
[bin.git] / man / crontab-argh.1.scd
1 crontab-argh(1)
2
3 # NAME
4 crontab-argh - crontab wrapper that safegaurds -r
5
6 # SYNOPSIS
7 *crontab-argh* [normal cron usage]
8
9 # DESCRIPTION
10 We've all done it, the perilous finger slip, what was intended to be an innocent
11 crontab -e turns into crontab -r. After you hit return, you are confused as to
12 why you weren't dropped into your editor, maybe your config file is bad? But no,
13 in horror you read the terminal and see that your user's crontab was
14 deleted. You swear to make better backups in the future, but you and I both know
15 that that will never happen. So in despair, you install crontab-argh, symlink it
16 to crontab, and the world is in harmony. You will never again accidentally run
17 crontab -r.
18
19 Some cron implementations implement a -R flag which does the same thing as this,
20 however it still relies on remembering to use a more inconvenient flag, and is
21 nonstandard.
22
23 It is recommended to symlink crontab-argh to crontab in a higher priority
24 directory in your $PATH, or to use a shell alias. Bear in mind that the reason
25 that -r still behaves in this obnoxious way is for compatibility. Using
26 crontab-argh may break some scripts. Only the -r flag will be intercepted,
27 however, and everything else gets passed on to crontab, so for the most part, it
28 should be fine.
29
30 # SEE ALSO
31 *crontab*(1), *cron*(8)
32
33 # COPYRIGHT
34 This is free and unencumbered software released into the public domain. For more
35 information, please refer to <https://unlicense.org/>.