Re: Executing a Script every hour

From: David Z Maze (dmaze_at_debian.org)
Date: 09/30/03

  • Next message: Dan Anderson: "Where is Debian's initrd located?"
    To: debian-user@lists.debian.org
    Date: Tue, 30 Sep 2003 17:05:15 -0400
    
    

    Christof Hurschler <hurschler@gmx.de> writes:

    > 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.

    Use crontab(1), like on every other Unix. :-) If you need some other
    frequency for a package or system script, you could drop a crontab
    fragment in /etc/cron.d; see crontab(5) for the format, and pretend
    these are parts of the system crontab file.

    -- 
    David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
    "Theoretical politics is interesting.  Politicking should be illegal."
    	-- Abra Mitchell
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Dan Anderson: "Where is Debian's initrd located?"

    Relevant Pages

    • Re: rename and move
      ... > Is there a way to rename and move a file by executing a script? ... Have the script execute a mvon the file. ... You could delete the first step and integrate it into the sed statement. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Portable shell scripts
      ... > set of scripts for bash and another for tcsh. ... script, they won't be visible to the parent of the script, but they ... :-) Using a Bourne-like interactive shell is also ... "Theoretical politics is interesting. ...
      (Debian-User)
    • Re: --purge when package already gone ?
      ... > complains it is not there. ... I could rm the script, ... Any way through the standard tools? ... "Theoretical politics is interesting. ...
      (Debian-User)
    • Executing script in Windows XP in the background.
      ... I recently wrote a script that emails me if any of my x-10 sensors is tripped. ... I like the starpack version as it is smaller and for some reason it looks easier for me to work on starkit. ... What I want is once I hit that exe file or my x-10 sensor launch it, for the script to execute in the background. ... Right now I can see the a black screen open and the script execute. ...
      (comp.lang.tcl)
    • Re: bash: can I cd from a script
      ... >> script could change my pwd to that directory. ... and then "cdls foo" would change directories to foo and list it. ... "Theoretical politics is interesting. ...
      (Debian-User)