added cron jobs

This commit is contained in:
hauke 2015-11-08 17:41:28 +01:00
parent 50b60f6735
commit bab5446614
1 changed files with 2 additions and 1 deletions

View File

@ -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