Skip to content

Commit

Permalink
Cron: added basic scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jan 15, 2016
1 parent 85aa7b1 commit ea023cf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cron/daily
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

DATE=`date +%Y-%m-%d`
echo $DATE

php ../www/index.php Addons:update -github
php ../www/index.php Addons:update -githubfiles
php ../www/index.php Addons:generate -content
php ../www/index.php Addons:update -composer
php ../www/index.php Addons:update -bower
php ../www/index.php Addons:stats -composer
8 changes: 8 additions & 0 deletions cron/hourly
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

DATE=`date +%Y-%m-%d`
echo $DATE

php ../www/index.php Addons:update -github -rest
php ../www/index.php Addons:update -githubfiles -rest
php ../www/index.php Addons:generate -content -rest

0 comments on commit ea023cf

Please sign in to comment.