Mailinglist Archive: opensuse (3378 mails)
| < Previous | Next > |
Re: [SLE] Cron
- From: "Paul Miles" <paul.miles@xxxxxxxxxxxxxxxx>
- Date: Mon, 1 Apr 2002 13:57:39 +0100
- Message-id: <002501c1d97c$cdb974e0$0e03a8c0@buffy>
> The script works fine but I can't get cron to run the script which is
> called backup and is in /usr/bin/backup. Would the syntax be
> something like this to run at 7.00 p.m. at night ? ...
>
> 14 0 * * * root /usr/bin/backup
try :
bash> crontab -u root -e
0 19 * * * /usr/bin/backup
This will run backup at 7pm every night as user root.
Kind regards,
Paul Miles
All Secure Networks
Visit www.allsecuredomain.com for low cost
web hosting and domain registration
----- Original Message -----
From: "Richard Ibbotson" <richard@xxxxxxxxxxxxx>
To: <suse-linux-e@xxxxxxxx>
Sent: Monday, April 01, 2002 2:52 PM
Subject: [SLE] Cron
> Hi
>
> I'm trying to understand the syntax for a cron job that I'd like to
> run once a day. I've put a script into /usr/bin which will create a
> tape archive once a day and then drop it into a CD with CD-Record.
>
> The script works fine but I can't get cron to run the script which is
> called backup and is in /usr/bin/backup. Would the syntax be
> something like this to run at 7.00 p.m. at night ? ...
>
> 14 0 * * * root /usr/bin/backup
>
> Probably not but some help would be welcome. Read the man pages and
> other docs. Didn't make a lot of sense to me.
>
> Thank you
>
>
> --
> Richard
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
>
>
> called backup and is in /usr/bin/backup. Would the syntax be
> something like this to run at 7.00 p.m. at night ? ...
>
> 14 0 * * * root /usr/bin/backup
try :
bash> crontab -u root -e
0 19 * * * /usr/bin/backup
This will run backup at 7pm every night as user root.
Kind regards,
Paul Miles
All Secure Networks
Visit www.allsecuredomain.com for low cost
web hosting and domain registration
----- Original Message -----
From: "Richard Ibbotson" <richard@xxxxxxxxxxxxx>
To: <suse-linux-e@xxxxxxxx>
Sent: Monday, April 01, 2002 2:52 PM
Subject: [SLE] Cron
> Hi
>
> I'm trying to understand the syntax for a cron job that I'd like to
> run once a day. I've put a script into /usr/bin which will create a
> tape archive once a day and then drop it into a CD with CD-Record.
>
> The script works fine but I can't get cron to run the script which is
> called backup and is in /usr/bin/backup. Would the syntax be
> something like this to run at 7.00 p.m. at night ? ...
>
> 14 0 * * * root /usr/bin/backup
>
> Probably not but some help would be welcome. Read the man pages and
> other docs. Didn't make a lot of sense to me.
>
> Thank you
>
>
> --
> Richard
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
>
>
| < Previous | Next > |