Re: Cron Jobs
by "Bryan Bateman" <batemanb(at)home.com>
|
Date: |
Mon, 11 Dec 2000 21:06:37 -0000 |
To: |
"Michael Lessar" <rfd246(at)bigfoot.com>, <hwg-basics(at)hwg.org> |
References: |
enterprise |
|
todo: View
Thread,
Original
|
|
"Crontab is the program used to install, deinstall or list the tables used
to drive the cron(8) daemon in Cron. Each user can have their own crontab,
and though these are files in /var, they are not intended to be edited
directly."
" If the allow file exists, then you must be listed therein in order to be
allowed to use this command. If the allow file does not exist but the deny
file does exist, then you must not be listed in the deny file in order to
use this command. If neither of these files exists, then depending on
site-dependent configuration parame�ters, only the super user will be
allowed to use this command, or all users will be able to use this command."
Did you create the crontab file using crontab -e? Is your login name in the
cron.allow file? You must be superuser to do this. Which user/group owns
update.pl and is it the same user as the one used for crontab?
Just a few
thoughts.............................................................
----- Original Message -----
From: "Michael Lessar" <rfd246(at)bigfoot.com>
To: <hwg-basics(at)hwg.org>
Sent: Tuesday, December 12, 2000 12:44 AM
Subject: Cron Jobs
> Hello pople,
>
> I have a question concerning a cron job. I have created a perl script
that
> I want to run with a cron job
>
> In reading about cron, I am a little confused.
>
> the file is called update.pl
> and the file is located in the directory of /www/mike/cgi-bin/script/
>
> and I want to run it every day at 12:01 am
>
> now do I create a file called cronjobs with the following info:
> ---------------------------------------------
>
> # Cron job for update.pl
> 01 12 * * * /www/mike/cgi-bin/script/update.pl
>
> ---------------------------------------------
>
> then do I upload this into my root file of /www/mike/
>
> after this I am confused, do I telnet and exucite the command of
> crontab ~/cronjobs
>
> I am trying to get this working and must be doing something wrong
>
> Or am I way off base here?
>
> Help
>
> Mike
>
>
>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA