added cron jobs
This commit is contained in:
parent
50b60f6735
commit
bab5446614
1 changed files with 2 additions and 1 deletions
|
@ -77,6 +77,7 @@ curl -sS https://getcomposer.org/installer | php
|
|||
php composer.phar install
|
||||
|
||||
#create cronjob
|
||||
echo "*/10 * * * * cd /vagrant; /usr/bin/php include/poller.php" >> friendicacron
|
||||
echo "*/30 * * * * www-data cd /vagrant; php include/cron_maintain.php" >> friendicacron
|
||||
echo "*/5 * * * * www-data cd /vagrant; php include/cron_sync.php" >> friendicacron
|
||||
sudo crontab friendicacron
|
||||
sudo rm friendicacron
|
Loading…
Add table
Reference in a new issue