p:: CLI
Edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables
crontab -e
Crontab.guru - The cron schedule expression editor
* * * * * date >> /tmp/date.txt
*/3 * * * * rm /tmp/date.txt
crontab: installing new crontab
Display the current crontab on standard output.
crontab -l
* * * * * date >> /tmp/date.txt
*/3 * * * * rm /tmp/date.txt
cat /tmp/date.txt
Mon May 9 03:16:00 IST 2022
Mon May 9 03:17:00 IST 2022