In this video, we describe how to create a cron task in Ubuntu. .
sudo apt-get update
sudo apt-get upgrade
dpkg -l cron
sudo apt-get install cron
systemctl status cron
sudo systemctl start cron
0 4 * * * /bin/sh /scripts/backup-script.sh
Escape, colon, w, q (:wq)
chmod +x /scripts/backup-script.sh
The related article for this article can be found here:
For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ and to learn more about our dedicated server offerings, visit: *https://www.liquidweb.com/products/dedicated/”
Video by: Alex Gorzen
Publisher: Liquid Web
You can watch this video also at the source.