Cron and Git Pull

Feb 3, 2015 11:54 · 117 words · 1 minute read

Assuming you’re using SSH keys for authentication, you should be able setup a simple cron job with syntax similar to this and get scheduled pulls happening.

*/30 * * * * cd /var/www/html/repos/myprojectname && git pull » /dev/null

This e-mail and all attachments (“e-mail”) is private and confidential.  If you receive the e-mail in error, let us know by reply e-mail, delete it from your system and destroy all copies. The e-mail is the property and confidential information of Reckon Limited, or one of its related companies**.** Reckon Limited does not warrant that the information in the e-mail is error or omission free. This e-mail is not a quotation or proposal and no contractual obligations shall arise.