diff options
author | Gustavo Duarte <gustavo@GusHP.(none)> | 2013-04-01 14:58:22 (GMT) |
---|---|---|
committer | Gustavo Duarte <gustavo@GusHP.(none)> | 2013-04-01 14:58:22 (GMT) |
commit | fad4ec50ee9040f96cd242abec55016e7f8f55cf (patch) | |
tree | 98f5b1d9fae8f879f8db15138e31a463f980f214 /src/run.sh | |
parent | e6843750df1e81a1894a3a10a0879756beca8a3a (diff) |
+ Ordering files tasks
+ Add stats-consolidation.cron as sample file for cron configuration.
Diffstat (limited to 'src/run.sh')
-rwxr-xr-x | src/run.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/run.sh b/src/run.sh new file mode 100755 index 0000000..05bb6ca --- /dev/null +++ b/src/run.sh @@ -0,0 +1,12 @@ +DB_USER="root" +DB_PASS="gustavo" +DB_NAME="statistics" +RRD_PATH=/var/lib/sugar-stats/rrd +APP_PATH=/home/ceibal/ac/statistics-consolidation +LOG_PATH=$APP_PATH/log + +echo `date`: Starting consolidation +$APP_PATH/sugar_stats_consolidation/consolidation_run --db_user $DB_USER --db_pass $DB_PASS --db_name $DB_NAME --rrd_path $RRD_PATH --log_path $LOG_PATH +echo `date`: Ending consolidation + +exit 0 |