Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
27 views

Crontab to run git pull as www-data user [duplicate]

I've created cronjob with crontab -u www-data -e and added the following command: * * * * * cd /var/www/example.com/wp-content/themes/mytheme && /usr/local/bin/git pull origin dev But it's ...
errorous's user avatar
  • 1,061
2 votes
1 answer
2k views

Unable to run git commands with crontab

I am setting up a server, and I want the git repository in my server to be up to date with the origin server(Github). I tried to run a cron job which updates the repository in the server every minute. ...
Amal Vijayan's user avatar
0 votes
1 answer
1k views

BitBuket auto pull using Cron Job

I was trying to create CronJob to git pull every minute to keep my QA environment up-to-date. the git pull needs to be done by the system user. In the .git repository, i did configure remote origin ...
Vipin Kumar's user avatar
5 votes
2 answers
9k views

How to correctly add 'git push' command to crontab - Ubuntu

I believe it's a simple question, but I've added a folder as Origin Master just as this guide oriented. I created a file backupgit.cron and inside it the following commands: cd /var/bkpfolder/ git ...
mrbTT's user avatar
  • 1,399
0 votes
1 answer
509 views

The error when start jekyll server

My Cloud Server is Ubuntu 14, after I install jekyll and start it like sudo jekyll serve --port 80 --host 'my server ip address', it shows errors like below: Configuration file: /home/ubuntu/...
L. YanJun's user avatar
  • 277
-2 votes
1 answer
157 views

git "compressing objects" crash - Ubuntu

I've got a bit of an odd one, and it's causing me some issues. I have a cron job that runs git and essentially "backs up" a bunch of development websites. I also put this cron job on two other ...
egg82's user avatar
  • 37
6 votes
1 answer
4k views

Pushing to GitHub using a cron job -- Permission denied (publickey)

I have created an SSH key (following the official tutorial), added it to GitHub and created a Bash script that commits and pushes a single file to my repository on Github. When I run this script from ...
John Manak's user avatar
  • 13.4k
4 votes
4 answers
6k views

Cron not running django command

I have a django script that should be run at a specified time every day. I am trying to achieve this using crontab. The script is supposed to dump the database, archive it using gzip and upload it to ...