#crontab -e //install your cron job by running this command.Ġ 9 1 * * /path/to/script/backup-script.shĮxample #2: Set up and run php script as cron job to run script every day at 10 AM. Fifth * stand for representing day of the week.Īfter all step for installation of cron tab and understanding common syntax, let’s execute a cron tab with suitable example.Įxample #1: If we want to schedule a backup on first day of each month at 9 PM, the following command performs this operation. Fourth star stands for representing month. In the syntax first * stand for representing minutes. Syntax: * * * * * /path/to/command arg1 arg2 It is designed to save your time setting up and running data backups while having nice visual feedback along the way.
FreeFileSync is a free Open Source software that helps you synchronize files and synchronize folders for Windows, Linux and macOS. You can edit the crontab file with following text editor.īefore we take example of cron tab execution let’s understand the common syntax of cron tab: Free data backup software to synchronize files and folders. In order to set up cron jobs, one needs to modify the /etc/crontab file which can be done by only root user. To check whether the cron service is running on the system, we can use the following command- #systemctl status cron One can Install the cron package with package Manager using the following command- #apt-get install cron If cron is not installed, install the cron package on Ubuntu:.To check if cron is installed, run the following command – #dpkg -l cron ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.