2.0 KiB
2.0 KiB
crontab
- crontab-command
- on this cluster (all machines as root) crontab is used for doing:
- on W0 and W10 (user=smad) for doing:
Crontab is a Unix command that creates a table or list of commands, each of which is to be executed by the operating systemt a specified time and on a regular schedule. Crontab is used to create the crontab file (the list) and later used to change the previously created crontab file.
A crontab is structured as follows: * * * * * command first *: min (0-59) second *: hour (0-23) third *: day (0-31) fourth *: month (1-12) fifth *: day of month (0-7) 0&7 are sunday
crontab-command
create a crontab
crontab -e
list crontabs
crontab -l #(as user or [[id:673d1cb1-536b-42f1-a046-40a8937c4283][root]])
crontab -l -u smad user (user=smad)