![]() |
2013-01-02
, 13:55
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#12
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
![]() |
2013-01-06
, 08:25
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2013
|
#13
|
#/bin/bash FTPU="username" FTPP="ftp password" FTPS="remote ftp server" FTPF="remote ftp server directory" LOCALD="/home/user/MyDocs/DCIM" LOGFILE="/tmp/backup.log" if ifconfig | grep -q -e 192.168.1.200 then echo Started Pictures Backup at: `date` >> $LOGFILE /opt/lftp/bin/lftp -u $FTPU,$FTPP -e " set ftp:ssl-allow no;set ssl:verify-certificate no; mirror --only-newer --verbose --continue --reve$ echo Pictures Update Finished at: `date` >> $LOGFILE else echo "Not at home, not synching anything: `date`" >> $LOGFILE fi
![]() |
2013-01-07
, 21:15
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#14
|
/opt/lftp/bin/lftp -u $FTPU,$FTPP -e " set ftp:ssl-allow no;set ssl:verify-certificate no; mirror --only-newer --verbose --continue --reve$
Note, userids on your system which do not appear in /etc/shadow will NOT have operational crontabs,
![]() |
2013-01-08
, 03:44
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2013
|
#15
|
/opt/lftp/bin/lftp -u $FTPU,$FTPP -e " set ftp:ssl-allow no;set ssl:verify-certificate no; mirror --only-newer --verbose --continue --reverse $LOCALD $FTPF; exit" $FTPS
The Following User Says Thank You to blackcoder For This Useful Post: | ||
![]() |
2013-01-08
, 03:48
|
Posts: 7 |
Thanked: 4 times |
Joined on Jan 2013
|
#16
|
https://help.ubuntu.com/community/Cr...ser_Level_Cron
Let's hope someone else with better knowledge of harmattan's user permissions and cron's workings will chime in.
Jan 8 14:40:01 (2013) /USR/SBIN/CRON[22640]: (CRON) error (do_command:initgroups(0) failed: Operation not permitted) Jan 8 14:40:01 (2013) /USR/SBIN/CRON[22639]: (CRON) error (grandchild #22640 failed with exit status 1)
The Following User Says Thank You to blackcoder For This Useful Post: | ||
![]() |
2013-01-13
, 09:33
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#17
|
I also did something and it worked but with more ugly way and with 2 small scripts
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.