Re: complex crontab query

From: Kai Grossjohann (kai.grossjohann_at_gmx.net)
Date: 09/30/03

  • Next message: Matthew Hunt: "Re: complex crontab query"
    To: freebsd-questions@freebsd.org
    Date: Tue, 30 Sep 2003 22:56:20 +0200
    
    

    Matthew Hunt <mph@astro.caltech.edu> writes:

    >> 2. Every first Thursday of the month
    >
    > 0 3 1-7 * * [ `date +%a` = Thu ] && mycommand

    My understanding is that putting more than one condition in it
    performs a logical conjunction. So wouldn't it work to do like this?

    # minute hour dom month dow command
    0 3 1-7 * 4 mycommand

    But I'm not an expert.

    Kai

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


  • Next message: Matthew Hunt: "Re: complex crontab query"