DX Application Performance Management

 View Only
Expand all | Collapse all

What is Cron Format to schedule a process alternate friday(fortnightly)

  • 1.  What is Cron Format to schedule a process alternate friday(fortnightly)

    Posted May 14, 2015 08:56 PM

    Dear All,

     

    Can anyone of you tell me what is the Cron Code to schedule a process fortnightly(Alternate Friday)?.



  • 2.  Re: What is Cron Format to schedule a process alternate friday(fortnightly)
    Best Answer

    Broadcom Employee
    Posted May 14, 2015 09:44 PM

    Cron itself has no direct mechanism so you need some scripting to enable execution only for the alternate week by finding odd/even week or odd/even day (since unix epoch).

    Here are some examples I found:.

    Is it possible to schedule a cron job to run fortnightly?

    Running a Cron Job every other week