Files
4GB-start.sh
README.md
Start-Qortal-UI-Electron.sh
auto-fix-GUI-cron
auto-fix-cron
auto-fix-cron-principal
auto-fix-qortal-GUI.desktop
auto-fix-qortal.sh
check-qortal-status.sh
cmdline.txt
config.txt
crontest
default-pi4-ubuntu-qortal-setup.sh
install-raspi-config.sh
outgoing-settings.json
reboot-mate.sh
rebuilt-machine-cron
rebuilt-machine.sh
refresh-and-modify-start-script.sh
refresh-qortal.sh
restart-cron
restart-qortal.sh
settings.json
setup-automation-principal.sh
setup-pi-automation-headless.sh
setup-pi-automation.sh
sinclair-mate-fixes.sh
start Qortal at boot.desktop
start(titan).sh
start-6001-to-16000m.sh
start-high-RAM.sh
start-modified-memory-args.sh
start-qortal-at-boot.sh
start-qortal-ui-at-boot.sh
start-qortal.sh
titan-fixes.sh
update-qortal-ui.sh
update_install_ui.sh
QORTector-scripts/crontest
2023-05-24 18:19:15 -07:00

18 lines
1.1 KiB
Plaintext

#cron is a tool used to automate system processes in the background. It does not
#display anything while runniing.
#you can use the following formula to remember how it works...
#you need an entry for every *, there are 5 stars. each star represents
#a timeframe... minute, hour, day of month, month, day of week
#the cron settings we have here represent running the command EVERY 5 DAYS at 1:01 AM
# 1 minute past the hour, 1 hour, */5 means every 5th day, then * means every month, and * means every week.
# 1 1 */5 * * /home/qortal/auto-fix-qortal.sh > "/home/qortal/qortal/auto-fix-01.log" 2>&1
#crontest file testing both more 'compatible' cron entry without username folder, and run every 2 minutes to test cron entry
#also removed username folder in output log, hopefully using ~/ for home/user instead. Testing...
#if this works, will modify the new 'auto-fix-GUI.cron' file to use only the 1:01 AM entry with more compabible entry, and
#auto-fix-qortal-GUI.desktop file instead of cron entry for @reboot, so user can SEE script output.
*/2 * * * * auto-fix-qortal.sh > "~/qortal/auto-fix-2-min-test.log" 2>&1