From bab544661418415de5ca6121375ec7330b85bcf9 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 8 Nov 2015 17:41:28 +0100 Subject: [PATCH] added cron jobs --- util/vagrant_provision.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/vagrant_provision.sh b/util/vagrant_provision.sh index 007b711b..7d824144 100644 --- a/util/vagrant_provision.sh +++ b/util/vagrant_provision.sh @@ -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 \ No newline at end of file