Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
In my crontab file I have two entries
00 13 * * * DISPLAY=:0.0 /home/noob/.scripts/backup.sh 00 21 * * * DISPLAY=:0.0 /home/noob/.scripts/backup.sh
Now can I write a single entry which executes the backup.sh file @ 1:00PM and 9:00PM.
backup.sh
00 13,21 * * * DISPLAY=:0.0 /home/noob/.scripts/backup.sh