• View
  • Changes
  • Options
  • Related
  • Edit

  • i like to put the run condition in the crontab entry:

    10 0 8-14 * * [ `date +%u` -eq 3 ] && /home/arielmt/bin/my-cronjob-bash-foolery.sh

     

    also, the second week of the month will always be in the range 8-14, regardless of which day of the week you are after :)

      --josh (Not signed in).....Sun Feb 10 21:58:07 -0800 2013


    so would a cron line that looks like

    "20 4 8-14 * 3 /root/patch-tues" or

    "20 4 8,9,10,11,12,13,14 * 3 /root/patch-tues"

     

    not work as well withoout the bash foolery? I've not used them before but just added them to my crontab to test 'em.

     

    I was trying to get a patch list the day after patch tuesday @ 4:20

     

    Cheers

      --Cron Solo (Not signed in).....Thu Apr 11 12:33:05 -0700 2013


  • View
  • Changes
  • Options
  • Related
  • Edit
  • Full list of journal entries

     

  • View
  • Changes
  • Options
  • Related
  • Edit

  • - Close card. - Open card. - Go to card.
    - View card. - Card's history. - Card's options. - Card's relations. - Edit card.
    - Search deck. - Add new card.

     

    Wheeled by Wagn v. 1.5.3