# How to schedule a job every alternate Friday?

**URL:** <https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934>\
**Category:** Matillion ETL\
**Created:** [November 3, 2022, 9:53pm UTC](https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934 "2022-11-03T21:53:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmokkapati](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@cmokkapati](https://matillioncommunity.discourse.group/u/cmokkapati)\
**Post date:** [November 3, 2022, 9:53pm UTC](https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934/1 "2022-11-03T21:53:28Z")

</div>

How to schedule a job every alternate Friday?

---

<div class="post-metadata">

**Author:** ![Michael](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@Michael](https://matillioncommunity.discourse.group/u/Michael)\
**Post date:** [November 14, 2022, 10:17am UTC](https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934/2 "2022-11-14T10:17:34Z")

</div>

I think that's not possible with the Matillion scheduler.

&nbsp;

You could schedule your Orchestration Job to run every Friday and then use a combination of "Query to scalar" and "If" components to fetch the current week number from your database and then distinguish between even and odd week numbers. For example, the If component could allow the job to continue on even weeks only and the "else" path will end the job on odd week numbers.

---

<div class="post-metadata">

**Author:** ![cmokkapati](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@cmokkapati](https://matillioncommunity.discourse.group/u/cmokkapati)\
**Post date:** [November 14, 2022, 8:40pm UTC](https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934/3 "2022-11-14T20:40:20Z")

</div>

Thank you Michael. I followed the same method but have done using a python script.

---

<div class="post-metadata">

**Author:** ![Michael](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@Michael](https://matillioncommunity.discourse.group/u/Michael)\
**Post date:** [November 15, 2022, 7:41am UTC](https://matillioncommunity.discourse.group/t/how-to-schedule-a-job-every-alternate-friday/1934/4 "2022-11-15T07:41:31Z")

</div>

Thanks for your feedback. I'm happy to hear that you found a solution!
