Ok, I figured out the problem. The step that creates the zip file,
wasn't creating the zip file, because,
I wasn't using the full path to the zip command. Since there was no
files to scp, the script ended.
Once I started using /usr/local/bin/zip, things started working
correctly with cron.
Ge
I'm extremely new to scripted scp, so this may be idiotic:
Assuming you are using rsa or dsa public key authentication for the
transfer, you need to make sure the crontab was setup from the account of
the authenticated user. Setting it up under root's crontab won't work - the
script will request
At 14:26 12.09.2003 -0400, Gerard Samuel wrote:
...
scp -q foo.zip server_name:
rm -rf foo_dev foo.zip
--
Cron job ->
--
# export, zip up and scp foo source to server_name
17 14 * * * /home/bar/bin/export-foo
2> /dev/null > /dev/null
--
When I execute t
- Original Message -
From: "Gerard Samuel" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 1:26 PM
Subject: Script doesn't complete via Cron
> When I execute the script by hand, it completes without any
problems.
> When I let a cronjob han