need help setting up a cronjob in ispcfg3

Discussion in 'Installation/Configuration' started by Ovidiu, May 3, 2011.

  1. Ovidiu

    Ovidiu Active Member

    I need to run a script from Sunday-Thursday every minute between 5am-9am every month.

    basically I need:

    * for minutes
    1-5 for weekdays
    5-9 for hours
    * for month


    ? for day of month but it seems this is not allwowed? How else am I supposed to get this working?

    see screen shot:

    I might be wrong about that ? but I can't leave it empty either...
    Last edited: May 3, 2011
  2. till

    till Super Moderator

    A wildcard in cronjobs is * and not ?. Replace ? with * and click on save.
  3. Ovidiu

    Ovidiu Active Member

    but doesn't * mean all? or will the 1-5 in days of the week take precedence so that it doesn't run every day?
  4. till

    till Super Moderator

    You have to use * there, as you defined the days alread in the days of week field.
: cron, ispcfg3

Share This Page