- Login to your cPanel account (http://yourdomain.com/cpanel)
- Click on Cron Jobs in the Advanced Section
- If you would like to receive an email notification when a command produces output, please enter your email address under Cron Email at the top of the Cron Job setup page.
- Under Add New Cron Job, select Once Per hour ( 0 * * * * ) from the Common Settings Drop Menu
- Under Command: add
cd /home/USERNAME/PATH/TO/REPO && git add --all && git commit -m "Automatic Hourly Commit"
- Click Add New Cron Job button
If you would like do adjust the frequency, select a different option from the Common Settings Drop Menu or adjust the values for Minute, Hour, Day, Month, Weekday.