From: wbudic Date: Tue, 31 Aug 2021 01:42:56 +0000 (+1000) Subject: upd. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=70d07bfd248c3a1fe3727e57974184b293fa0943;p=LifeLog.git upd. --- diff --git a/backupDBLifeLog.sh b/backupDBLifeLog.sh index 71187e9..20cb672 100755 --- a/backupDBLifeLog.sh +++ b/backupDBLifeLog.sh @@ -5,10 +5,10 @@ # # Usefull to cron, to auto backup the databases just in case. # -# Programed by: Will Budic +# Programed by: Will Budic (Вячаслав Будитьий) # Open Source License -> https://choosealicense.com/licenses/isc/ -#Example crontab -e entry for every three hours. -#crontab -> * */3 * * * /home/will/dev/backupDBLifeLog.sh > /dev/null 2>&1 +# Example crontab -e entry for every four hours. +# in crontab have -> 0 */4 * * * /home/will/dev/backupDBLifeLog.sh > /dev/null 2>&1 export DISPLAY=":0" export XDG_RUNTIME_DIR=/run/user/$(id -u)