Crontab & Newsyslog Questions

From: Pelle Andersson (SPD Systems AB) (pelle_at_spd.nu)
Date: 02/27/04

  • Next message: Nikolas Britton: "Re: freebsd without internet connection"
    To: <freebsd-newbies@freebsd.org>
    Date: Fri, 27 Feb 2004 11:04:11 +0100
    
    

    Hi!

    ::NEWSYSLOG::
    -------------
    I want to rotate and pack my logs for Qpopper and ProFTPD
    This is my lines in '/etc/newsyslog.conf':

    #------------------
    /var/log/qpopper.log root:root 640 7 * @T00 Z
    /var/log/proftp.log root:root 640 7 * @T00 Z
    #------------------

    It does not work =( What do I need to do?
    Any suggestions?

    ::CRONTAB::
    Im trying to run a shellscript for setting the time
    against a NTP server. Im also want to run the analog
    program for Apache2 logs.

    The lines in '/etc/crontab':
    #------------------
    0 * * * * root ntpdate.sh
    0 * * * * root analog
    #------------------

    I also added the paths to this script & program like this:
    PATH=./:/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/etc/rc.
    d/

    Neither of them is running? Is this possible at all?
    FreeBSD verion is 4.9

    A big thanks in advance

    ================================
    BEST REGARDS/MVH PELLE ANDERSSON
    SYSTEM AND NETWORK ENGINEER
    SPD SYSTEMS AB
    WWW.SPD.NU
    ================================

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


  • Next message: Nikolas Britton: "Re: freebsd without internet connection"

    Relevant Pages

    • NewSysLog & FBSD 4.9
      ... I want to rotate and pack my logs for Qpopper and ProFTPD ... It does not work =(No error messages or anything. ...
      (freebsd-questions)
    • restricted ftp user w/ proftpd
      ... This seems to be a common question, but after days of searching I'm ... I am using ProFTPD running under ... I've killed the user's shell and the user logs ...
      (comp.os.linux.security)
    • restricted ftp user w/ proftpd
      ... This seems to be a common question, but after days of searching I'm ... I am using ProFTPD running under ... I've killed the user's shell and the user logs ...
      (comp.os.linux.security)
    • ProFTPd LOG
      ... I am using ProFTPd to provide FTP Service ... but ProFTPd creates so many LOGs ... How to prevent it from writing /var/log/wtmp?? ...
      (comp.os.linux.security)
    • Re: About Qpopper
      ... Thanks for your help, Kris. ... I always forgot to check the logs :-(. ... Subject: About Qpopper ... To unsubscribe, ...
      (freebsd-questions)