Re: Automate a command


Subject: Re: Automate a command
From: W.D. McKinney (deem@wdm.com)
Date: Wed Jun 11 2003 - 21:55:10 AKDT


On Wed, 2003-06-11 at 12:23, Greg Madden wrote:
> The following command + options creates a Debian mirror. I run it
> manually when I want to update my mirror. What I would like to do is
> make it so it runs automatically a couple of times a week. I don't know
> aything about scripts or cron jobs so a sequence of events and the
> terminology involved would help point me to research the correct docs.
>
> # 'debmirror -a i386,powerpc -h ftp-mirror.internap.com -r /pub/debian
> --ignore=non-US/ -d woody -d testing -d unstable /mnt/pub/mirror/debian
> -p --getcontents'
>
> This is all one line separated by blank spaces.
>

Another option if you would like to use a GUI application, is to use Visual Cron.

To start, head to:
http://www.linux-kheops.com/pub/vcron/vcronGB.html

(if they had a better act, they would have .deb's :-)

"at" job editor is what you need to use to put your script in.

Works excellent.

Dee

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Jun 11 2003 - 21:40:35 AKDT