FC3 crontab/cron operation of ?

From: craig (craig_at_stellarnet.com)
Date: 02/27/05


Date: Sun, 27 Feb 2005 13:45:47 -0600

I'm trying to discover what I need to do to run a program on an hourly
bases.

"crond" the cron daemon is running.

I have a directory /ect with the following sub directories/folders
cron.hourly
cron.daily
cron.weekly
cron.monthly

I have a file in /etc titled simply crontab
It's contents follows:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

Some of these folders have scripts in them already. I see one for yum
called yum.cron So then I assume yum is being run daily?

I would think I can just write a script with the path to the script I
wanted executed hourly in the hourly.cron folder and it would be run by
cron. yes/no

When I run (as root) #crontab -l it reports: "no crontab for root" I
thought this would list the yum.cron I mentioned above. Does that mean
to say crontab isn't being called by the running crond?

thank you



Relevant Pages

  • RE: Date & Time in JCL
    ... Create a script to use unix services date command to build set cards ... Concatenate the PDS containing the DATETIME member in the JES2 PROC ... Start the cron daemon (there are different ways to do this, ...
    (bit.listserv.ibm-main)
  • Re: launch other script
    ... > removing stale entries from the database. ... External script or application that is run from the Cron Daemon ... > Windows Task Scheduler. ... I've no CRON daemon possibility as I've no rights on the server (exec, cron, ...
    (comp.lang.php)
  • Re: How to make a script run every 10 minutes?
    ... then cron would eat less resources. ... If the script is supposed to run permanently (also ... If crond isn't running at the system (on most "personal computers", ... Check our new Mobster game at http://mobster.td.org.uit.no/ ...
    (comp.os.linux.misc)
  • Re: meed a memory kick how to test for X running or not
    ... > course there's usually no display/tty set if you run from cron, ... > since your script is started from crond. ...
    (comp.unix.shell)
  • Re: shell script with different results
    ... > As described in my posting the crond calls only the shell script ... a file from the script, so you can see what output you're actually getting ...
    (comp.unix.admin)