Skip to content

Instantly share code, notes, and snippets.

@0D1NTR33
Created July 21, 2019 18:37
Show Gist options
  • Save 0D1NTR33/57aa8644d026e8868f453f760f373f8a to your computer and use it in GitHub Desktop.
Save 0D1NTR33/57aa8644d026e8868f453f760f373f8a to your computer and use it in GitHub Desktop.
Crontab Backup
# Start shift-checker every minute
* * * * * php ~/shift-checker-m/checkdelegate.php >> ~/shift-checker-m/logs/check
# Start Testnet shift-checker every minute
* * * * * php ~/shift-checker-t/checkdelegate.php >> ~/shift-checker-t/logs/check
# Clear shift-checker logs
@daily forever cleanlogs
# Updating MTProto config
#@daily curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
# Start MainNet GoGreen Notifier every 15 minutes */15 * * * * python3 ~/go-green-mainnet/bot.py >> ~/go-green/bot.log 2>&1
# Start TestNet GoGreen Notifier every 15 minutes */15 * * * * python3 ~/go-green/bot.py >> ~/go-green-testnet/bot.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment