cron_automation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cron_automation [2016/08/03 21:49] – [Working Example] walkeradmin | cron_automation [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Cron Automation ======= | ====== Cron Automation ======= | ||
+ | <color darkorange> | ||
\\ | \\ | ||
\\ | \\ | ||
- | This information comes from " | + | \\ |
+ | This information comes from | ||
+ | " | ||
\\ | \\ | ||
To edit the cron job list: | To edit the cron job list: | ||
\\ | \\ | ||
- | | + | crontab -e (don't sudo, or you will change root cron, not your user cron) |
\\ | \\ | ||
Then add your job, which has the format: | Then add your job, which has the format: | ||
Line 26: | Line 29: | ||
\\ | \\ | ||
00 03 0 0 0 / | 00 03 0 0 0 / | ||
+ | \\ | ||
+ | ===== Check if Cron is Running ===== | ||
+ | \\ | ||
+ | / | ||
+ | | ||
+ | ● cron.service - Regular background program processing daemon | ||
+ | Loaded: loaded (/ | ||
+ | Active: active (running) since Wed 2016-08-03 20:37:22 BST; 19h ago | ||
+ | Docs: man:cron(8) | ||
+ | Main PID: 453 (cron) | ||
+ | CGroup: / | ||
+ | └─453 / | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Check Jobs ===== | ||
+ | \\ | ||
+ | crontab -lu pi | ||
+ | | ||
+ | Shows current cron jobs for user pi | ||
\\ | \\ | ||
\\ | \\ | ||
+ | |||
cron_automation.1470257382.txt.gz · Last modified: 2023/03/09 22:35 (external edit)