Re: scp in crontab problem

2024-09-13 Thread Marcus Park
basti: /usr/bin/scp -i /home/userYX/.ssh/myKEY r...@example.com ... updated: it's really due to environment issue, after I add the '-i' path to scp, jobs run well now. Thanks basti.

Re: unwanted crontab message

2024-09-13 Thread Marcus Park
Andy Smith : As to why whatever it is set as right now is doing that, first work out where it is getting the setting from, so echo $EDITOR and echo $VISUAL. If neither of those are set then ls -la /usr/bin/editor. Thanks Andy. either $EDITOR or $VISUAL in my system is empty. And /usr/bin/

unwanted crontab message

2024-09-13 Thread Marcus Park
Hi list, When I run 'crontab -e' the screen shows some errors like, $ crontab -e Error detected while processing /usr/share/vim/vim82/filetype.vim: line 10: E319: Sorry, the command is not available in this version: let did_load_filetypes = 1 line 13: E319: Sorry, the command is not availa

scp in crontab problem

2024-09-13 Thread Marcus Park
Hi list, I have put the private key into my debian VPS (in ~/.ssh/ dir). When I scp a file from this VPS to another one by hand without password, it works. But when I put this scp into crontab, it seems not work. The scp in crontab via private key didn't run as I expect, nothing was copied t