forked from onryo/siona
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
D
a67dabd148
|
1 year ago | |
---|---|---|
.. | ||
README | 1 year ago |
README
# cron jobs to run explorer
```
# m h dom mon dow command
SIONA_DOMAIN=explorer.dragonx.is
SIONA_CLI=/git/hush3/src/hush-cli
SIONA_ACNAME=DRAGONWX
*/7 * * * * ./update_explorer_data.sh
*/5 * * * * ./update_api.sh
#*/7 * * * * ./hush_cron.sh
# restart hushd every 4 hours
# start it if it's not running
20 */4 * * * ./restart-hushd.sh
*/10 * * * * /var/www/explorer.dragonx.is/update.sh
```
Restarting hushd used to be needed before the LOCK bug fixed in dev (which will be in 3.9.1), so
that is optional if you are using the latest code.
The times the cronjobs run are specifically chosen to try and run in a specific order, since
the output of one cron is used in another.