[aklug] Re: cron/crontab question

From: barsalou <barjunk@attglobal.net>
Date: Thu Sep 24 2009 - 08:26:59 AKDT

Quoting James Zuelow <e5z8652@zuelow.net>:
> No. If you have it in someone's crontab, their crontab will run it.
>
> If you put it into cron.daily, it will run when all of the other daily tasks
> run. (06:25 by default -- you can change that in /etc/crontab.)

Maybe I'm not understanding this properly, but if it's the actual
script that is being run....it can be anywhere. There are a few rules
though:

  - you have to issue the entire path to it: /usr/local/myscript.sh
  - the scripts environment will be mostly stripped, see man pages or google

I think there may be a few other minor things I take for granted...but
those are the two that byte me the most. :)

Mike B.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Sep 24 08:27:11 2009

This archive was generated by hypermail 2.1.8 : Thu Sep 24 2009 - 08:27:11 AKDT