Skip to content

Oh the CRONS!!!!!

sigwo edited this page Dec 16, 2015 · 3 revisions

Make your crontab file look similar to this:

PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"

3 6 * * *  ~/unomp/multipool/payment.sh > ~/unomp/multipool/alerts/payout.log 2>&1
2,7,12,17,22,27,32,37,42,47,52,57 * * * *  ~/unomp/multipool/profit.sh > ~/unomp/multipool/alerts/cronprofit.log 2>&1
0 */2 * * *  ~/unomp/multipool/exchange.sh
*/30 * * * *  ~/unomp/multipool/price.sh
*/5 * * * *  ~/unomp/multipool/hashrate.sh
1,6,11,16,21,26,31,36,41,46,51,56 * * * *   ~/unomp/multipool/average.sh

# Redis<br>
# Do BGSAVE<br>
# 20  15 * * *    redis-cli bgsave

# ... or call more complex script (example is commented)
35 15 * * *     ~/unomp/multipool/backups/redis-backup.sh

This will make the backend run like clockwork :)

Clone this wiki locally