skip to Main Content

cPanel Cron Job to run git reset

I'm using the Cron Job section of the cPanel and I am attempting to run a git reset every half hour. I typed something like this into the command field /usr/local/bin/php /home/username/public_html/website.com/ && git reset --hard 932591389576b76215ce9dbb8fdea787115891ef 932591389576b76215ce9dbb8fdea787115891ef being the…

VIEW QUESTION

GIT repo connection failed in cPanel

I am having issue connecting git repo to cpanel. I have added SSH keys to cPanel from git correctly. Sometime repo are connecting and sometime i am getting following issue Error: “/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when it ended: fatal:…

VIEW QUESTION
Back To Top
Search