
Schedule a Bash Script to Run
The Following shows how to schedule a Linux bash script so that it runs at 7:15 PM (19:15) ever daily. 1. To schedule a job in Linux, one will need to use…
The Following shows how to schedule a Linux bash script so that it runs at 7:15 PM (19:15) ever daily. 1. To schedule a job in Linux, one will need to use…
backup.sh #sets the current date and time to a variable so it can be used when naming zip filecurrent_time=$(date ā+%Y-%m-%d_%H.%M.%Sā) #compress contents of /var folder to zip file tar -zcvf /mnt/EXTHD01/fedora01/backup/fedora01_$current_time.tar.gz /var…