Hi!
I have a folder that is in: /home2/user/folder, and it is a private github repository. How can I make cPanel do a git pull every 5 minutes? I tried to create a pull.sh file and in it by something like:
Have some way to do it? I only want to do the git pull (get changes from github private repository), not push.
I have a folder that is in: /home2/user/folder, and it is a private github repository. How can I make cPanel do a git pull every 5 minutes? I tried to create a pull.sh file and in it by something like:
Running as user's cronjob#!/bin/bash
git pull
But it didn't work.sh /home2/user/folder/pull.sh
Have some way to do it? I only want to do the git pull (get changes from github private repository), not push.