Possibility of advanced scheduling / cron: bi-weekly

Hey everyone. I know cron in and of itself does not do something such as every two weeks (at least according to my simple google searches) … though is there a way do have a workflow run every two weeks?

Hey @cklph, Welcome to the n8n community!

While not exactly what you are looking for, what I have done with CRON jobs in the past to get this to work is the following:

  1. Schedule a CRON job to run every week
  2. Get the script to determine if the week of the year is an odd or even numbered week
  3. On even numbered weeks, run the next piece of code
  4. On odd numbered weeks, cancel running any further lines of code
1 Like

Thanks a lot @Tephlon! Yes agree that is also the best I could think of. Here an example how it would work in n8n:

2 Likes