This one time, at band camp, Christopher Booth wrote:
>I actually created a shell script in /etc/cron.hourly called pdfdistiller
[snip]
>I would like to change the regularity of the cron job to say every minute...
>How do I do this ?

In /etc/cron.d, create a file containing the cron entry for once a minute,
like so:
1/1 * * * * /usr/local/bin/pdfdistiller

You'll have to check the manpage for crontab to make sure I've got the
syntax right, it's 2:20 and i've been setting up LDAP with a hangover from
last night :)

You'll notice that your script that you had in /etc/cron.hourly has been
moved to /usr/local/bin, and is called from the new file in /etc/cron.d

If your system doesn't have /etc/cron.d, then edit the system crontab,
/etc/crontab, and add the above cron script.

-- 
[EMAIL PROTECTED]                           http://spacepants.org/jaq.gpg
 
<Jaq> right, i've read the spec, my brain is on fire; time to start 
      coding.
        -- #sodfest97

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to