ArchiveJanuary 2019

Ubuntu – Schedule A Script To Run

U

There are many occasions where we want to schedule a .sh script to run at set intervals. I use this primarily for running backups every day of various amazon EC2 servers so that they are backed up to S3 on a nightly basis. crontab -e (if it is the first time running this, press 1 to use nano) 0 0 * * * bash /home/ubuntu/scripts/myscriptfile.sh to >/dev/null 2>&1 This means that the script...

Archive

Tags

Get in touch

I'm available on just about every social media platform out there as RMTWeb.