### Crontab

Cron is a daemon that executes scheduled commands. Very useful to execute B4J non-ui applications.
Below just a few hints. Look up the internet for many more examples.
Edit crontab jobs
sudo crontab -e
List crontab jobs
sudo crontab -l
Delete crontab jobs
sudo crontab -r
Crontab Format
# Minute Hour Day of Month Month Day of Week Command
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)
0 2 12 * * /usr/bin/find
Overview Special Commands (replacing the first 5 strings
@reboot Run once at startup.
@yearly Run once a year, "0 0 1 1 *".
@annually (same as @yearly)
@monthly Run once a month, "0 0 1 * *".
@weekly Run once a week, "0 0 * * 0".
@daily Run once a day, "0 0 * * *".
@midnight (same as @daily)
@hourly Run once an hour, "0 * * * *".

Changed: , Category: Raspberry Pi, File: T6C234M1709.htm, ID: 1709