Re: Executing a Script every hour

From: Alex Malinovich (demonbane_at_the-love-shack.net)
Date: 09/30/03

  • Next message: Martin Jungowski: "Re: Problems with kernel: no sound, printer, cdwriter"
    To: debuser <debian-user@lists.debian.org>
    Date: Tue, 30 Sep 2003 15:50:36 -0500
    
    
    

    On Tue, 2003-09-30 at 15:11, Christof Hurschler wrote:
    > Hi,
    >
    > I've scanned the cron man pages, but it seems that cron is only set up to do
    > daily, weekly, and monthly jobs in Debian.
    >
    > Is there a simpe way to have a script execute at shorter time intervals. I'd
    > like to run the swendeleter.pl script automatically every so often to keep my
    > mailbox from overfiling.

    Actually, cron will let you start a job by minute.

    Take a look at:

    man crontab
    man 5 crontab

    -- 
    Alex Malinovich
    Support Free Software, delete your Windows partition TODAY!
    Encrypted mail preferred. You can get my public key from any of the
    pgp.net keyservers. Key ID: A6D24837
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Martin Jungowski: "Re: Problems with kernel: no sound, printer, cdwriter"

    Relevant Pages

    • Re: crontab
      ... >>I have scheduled a task by configuring crontab. ... >>and the mail contents are simply stating the successfull execution of ... >>the cron job. ... If MAILTO is ...
      (comp.os.linux.development.system)
    • Re:crontab bug?
      ... When I edit my crontab and then save it, ... needing to restart cron for every new crontab isnt normal, ... so it may be a bug, or you are doing it wrong. ... you file a bug on cron (see debian website for that) ...
      (Debian-User)
    • SUMMARY: cron entry: nth day of every month?
      ... cron can not handle this with its own syntax. ... 21st but "command" only runs if the output of the "date" command ... What I would suggest is rather than embedding the logic in each script ... The answer is it is _not_ possible to control it only with crontab ...
      (Tru64-UNIX-Managers)
    • Re: Cron job question
      ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
      (freebsd-questions)
    • Re: cron.allow and cron.deny
      ... they wished since cron will execute a user's crontab with that user's ... cron, cause they are only allow to run scripts with users permissions, that's ... IMHO if for instance apache user or nobody one is able to set up tasks on ...
      (RedHat)