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:
- Schedule a CRON job to run every week
- Get the script to determine if the week of the year is an odd or even numbered week
- On even numbered weeks, run the next piece of code
- 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