[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple Questions



> # Hey All,
> #
> # I have just a quick (and probably stupid) question.  I was under the
> # impression that you could just place scripts in the cron.daily,
> # cron.monthly, and cron.weekly directories and that those scripts would
> be
> # run.  Now either there is an error in my script or I'm not doing
> something
> # right.  Can someone give me a procedure for adding a job to the cron
> # schedule...?
>
> You are correct there... A couple of things to look for:
>
> Is the script executable? 'chmod +x <script>'
> Does the script have "#!/bin/sh" or whatever language the script is
> written in for the first line?

yup the script is executable and works....

I went into the /etc/cron.daily directory and ran it from the command line
via "./webalizer"

Leonard Leblanc,
Webmaster / Intranet Administrator
Emerge Knowledge Design
www.emergeknowledge.com



Reply to: