Cron and File Manipulation

From: Kris McElroy (kris.mcelroy_at_duracom.net)
Date: 04/01/05

  • Next message: Alex S. Moura: "Re: FreeBSD 5.3 and WCCP"
    To: <freebsd-isp@freebsd.org>
    Date: Fri, 1 Apr 2005 13:02:49 -0600
    
    

    First of all I am a newbie to FreeBSD and if I need to be pointed somewhere
    else let me know.

    I have 2 questions

    I have a .sh script that I want to run every 25 minutes everyday
      So would I do the following:
            25 * * * * root /usr/local/bin/MY.sh >
    /dev/null 2>&1

    Also in the above script I want to add a line in my log file

    Echo >> MY SH Completed

    The thing is I would like to date and timestamp it, how could I do that?

    Thanks,

    Kris McElroy
    kmcelroy@duracom.net

    Chief Technology Officer
    Duracom, INC.
    www.duracom.net

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Alex S. Moura: "Re: FreeBSD 5.3 and WCCP"

    Relevant Pages

    • Re: Music on Hold via FreeBSD Server
      ... > I have an existing FreeBSD 5.x server I'm trying to use to feed music or ... > share a script to keep it running continuously? ... To unsubscribe, ...
      (freebsd-questions)
    • *_enable = "YES" for FreeBSD
      ... Last time I used FreeBSD, I can start services with just ... to reload this script without rebooting? ... To unsubscribe, ...
      (freebsd-questions)
    • Re: FreeBSD 5.3 RC1
      ... > I am a newbie in freebsd and would like to know if it's worthy to get ... To unsubscribe, ...
      (freebsd-current)
    • RE: FreeBSD 4.7 vs 4.8
      ... It might be a replica of the ports skeleton, ... Best rgs from another Newbie ... Subject: FreeBSD 4.7 vs 4.8 ... To unsubscribe, ...
      (freebsd-questions)
    • Re: ssh security
      ... > argument when you run the configure script. ... This is a bit unsual for FreeBSD. ... If the default with the base system ... To unsubscribe, ...
      (FreeBSD-Security)