I want to set up a cronjob to do me a git pull and other bits and pieces.
my job looks like this:
cd /var/www/project; git pull; composer install; composer update;
But it never works I tried making changes locally, and push that and I have never seen the changes I have to git pull manually, Why is this happening? I don't know why I get bullet points here these are stars.
in a cron.log I get:
Jun 14 09:38:32 ip-172-31-24-22 cron[19247]: (CRON) INFO (pidfile fd = 3)
Jun 14 09:38:32 ip-172-31-24-22 cron[19247]: (CRON) INFO (Skipping @reboot jobs -- not $
Jun 14 09:39:01 ip-172-31-24-22 CRON[19256]: (root) CMD (php /var/www/project/artisa$
Jun 14 09:39:01 ip-172-31-24-22 CRON[19257]: (root) CMD (cd /var/www/project; git pu$
$ionclean ] && /usr/lib/php/sessionclean)
Jun 14 09:39:02 ip-172-31-24-22 CRON[19254]: (CRON) info (No MTA installed, discarding $
//
Already up-to-date.
/bin/sh: 1: composer: not found
/bin/sh: 1: composer: not found