Hello gentoo-user,
Can someone please tell me how to set up a cron job? I've been reading
about it all day but can't get it to work.
I want to download a jpg at 10 past the hour every three hours. I tried
this in /etc/crontab but it won't work.
10 15 * * * wget -q
Hi,
Best way is to run 'crontab -e' as the user you want to set the crontab
up for. You'll need to add that user to the 'cron' group in /etc/groups
before it allow you to do it, unless you do it as root.
Then, the line you want is probably:
10 */3 * * * wget -q -O
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony Boom wrote:
| Hello gentoo-user,
|
| Can someone please tell me how to set up a cron job? I've been reading
| about it all day but can't get it to work.
|
| I want to download a jpg at 10 past the hour every three hours. I tried
| this in
On Thu, 20 Jan 2005 15:44:58 +, Tony Boom wrote:
10 15 * * * wget -q
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg
/usr/share/xplanet/images/clouds_2000.jpg
Try using the full path for wget, it may not be in the path used by the
cron process.
--
Neil Bothwick
Hello Niklas,
Thursday, January 20, 2005, 3:55:58 PM, you wrote:
NH Does the command work when you run it manually?
Yes, it does but!!!
It downloads 433,809 bytes but when I view the file it contains zero bytes.
I deleted the original file and the new one reappears but zero bytes.
--
Tony.
Neil Bothwick ha scritto:
On Thu, 20 Jan 2005 15:44:58 +, Tony Boom wrote:
10 15 * * * wget -q
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg
/usr/share/xplanet/images/clouds_2000.jpg
Try using the full path for wget, it may not be in the path used by the
cron
Tony Boom ha scritto:
Hello Niklas,
Thursday, January 20, 2005, 3:55:58 PM, you wrote:
NH Does the command work when you run it manually?
Yes, it does but!!!
It downloads 433,809 bytes but when I view the file it contains zero bytes.
I deleted the original file and the new one reappears but zero
Yes, it does but!!!
It downloads 433,809 bytes but when I view the file it contains zero bytes.
I deleted the original file and the new one reappears but zero bytes.
...which isn't surprising, since you're only redirecting the output of
wget to your file, and not saving the image properly
Hi,
On 20 Jan 2005, at 16:52, Tony Boom wrote:
Hello Chris,
Thursday, January 20, 2005, 3:52:18 PM, you wrote:
CB Hi,
CB Best way is to run 'crontab -e' as the user you want to set the
crontab
CB up for. You'll need to add that user to the 'cron' group in
/etc/groups
CB before it allow you to do
Hello Chris,
Thursday, January 20, 2005, 5:56:41 PM, you wrote:
CB Yes, the crontab command makes a copy of your crontab in the temp
CB folder, then it checks it for syntax and other problems when you exit
CB the editor, before installing it for you. That's correct.
I've done that now. I had
10 matches
Mail list logo