Posts: 71
Threads: 20
Joined: Feb 2014
Reputation:
0
12-15-2015, 04:51 PM
(This post was last modified: 12-15-2015, 04:53 PM by kjacobs.)
Well fellas.....I tried a few more options from the links you provided, but still had no luck running grsync. It appears the GUI for rsync is fussy about starting from cron or scheduler.
So, I decided to grab the rsync command that grsync was sending and dropped that direct into scheduler......that seemed to work fine. Then I copied that command into my backup.sh script and ran the shell script from scheduler.....that worked fine too. I even setup rsync to send a log file of the backup, so I can see that everything went fine.
Thanks for the help......
Posts: 1,849
Threads: 21
Joined: Sep 2015
Reputation:
0
(12-15-2015, 05:24 PM)Wirezfree link Wrote: glad you sorted it... GL
Ditto ;D 8)
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Posts: 162
Threads: 16
Joined: Jun 2018
Reputation:
0
06-12-2018, 01:11 AM
(This post was last modified: 06-12-2018, 01:24 AM by kpanic.)
Hi,
You need to set EDITOR environment variable to some text editor.
I use nano here, you may use emacs, vi or anything really
For example:
shell > export EDITOR=nano
shell > crontab -e
## Insert or append a line like:
# min hour day_of_the_month month day_of_the_week command
# So 5 past midnight of every Tuesday do...
5 0 * * 2 tar -cf ~/back.tar ~/Documents && mv ~/back.tar /where-ever 2>&1 > /dev/null
# Save settings = CTRL+O
# exit = CTRL+X