Schedule cron jobs to run on a time interval for the current user.
Job definition format: "(min) (hour) (day_of_month) (month) (day_of_week) command_to_execute".
More information.
- Edit the crontab file for the current user:
- Edit the crontab file for a specific user:
sudo crontab -e -u {user}
- Replace the current crontab with the contents of the given file:
- View a list of existing cron jobs for current user:
- Remove all cron jobs for the current user:
- Sample job which runs at 10:00 every day (* means any value):
0 10 * * * {command_to_execute}
- Sample job which runs every minute on the 3rd of April:
* * 3 Apr * {command_to_execute}
- Sample job which runs a certain script at 02:30 every Friday:
30 2 * * Fri {/absolute/path/to/script.sh}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY