Time & Command: | Explanation: |
---|---|
* * * * * date > ~/dates.log 2>&1 | Every minute, generate a timestamp with 'date' command and append to ~/dates.log. TODO: Explain the 2nd part. |
0,30 * * * * rm ~/dates.log | Delete ~/dates.log at the top and bottom of the hour (so it doesn't waste too much space).TODO: Explain better. |
Method: | Steps: | Comment: |
---|---|---|
1.) Edit manually |
|
<-- 'l' as in 'lambda' <-- or use pico/nano/vi/vim/etc instead of emacs. <-- load into your crontab. |
2.) Edit via crontab |
|
open editor, edit, save to crontab all at once Note: make sure your syntax is correct!). |