Tech Support > Operating Systems > UNIX / Variants > facing problem with scp command while using in crontab
facing problem with scp command while using in crontab
Posted by KamalKishore.Rajput@gmail.com on April 8th, 2008


Hello All,

I want to transfer a file from one machine to another using scp
command through crontab. But its giving error saying "scp Permission
Denied". Even I have passed the absolute path of the scp command.
Anybody please let me know how to resolve the issue. The same script
when executed on command prompt goes fine.

Thanks and Regards,
Kamal

Posted by Glenn Jackman on April 8th, 2008


At 2008-04-08 10:29AM, "KamalKishore.Rajput@gmail.com" wrote:
So what's the difference between your shell's environment and
cron's environment? Therein lies the answer.

--
Glenn Jackman
"If there is anything the nonconformist hates worse than a conformist,
it's another nonconformist who doesn't conform to the prevailing
standard of nonconformity." -- Bill Vaughan


Similar Posts