Scheduling Multiple Cron Jobs for a REST API connector in Fivetran - cron

We use a Fivetran connector that pulls our data every five minutes. We do not need the data pulled that frequently during non working hours. The connector we have does not allow for customization, but a REST API was suggested if paired with a cron job. Is it possible to set up a schedule like this?
Monday 4:00am to 11:55pm, run every five minutes. 12:00am to 4:00am, run on the hour
Tuesday 4:00am to 11:55pm, run every five minutes. 12:00am to 4:00am, run on the hour
Wednesday 4:00am to 11:55pm, run every five minutes. 12:00am to 4:00am, run on the hour
Thursday 4:00am to 11:55pm, run every five minutes. 12:00am to 4:00am, run on the hour
Friday 4:00am to 11:55pm, run every five minutes. 12:00am to 4:00am, run on the hour
Saturday run every hour Sunday run every hour
Thank you.

Related

Cron job for every weekday at 6 am

I was wondering if anyone knew how to create a cron job that runs from monday to friday at 6am.
I am using gitlab CI, quickly looked at the example syntax and am not exactly sure how to limit it to occur from monday to friday.
Not sure what about gitlab CI, but cron syntax is minute, hour, day of month, month, day of week, meaning job which should run every week day from 6am is
0 6 * * 1-5

cron expressions for 2 hours ranges like 12:00AM - 6AM and 8PM - 11:59PM every day

Can I define a cron job to run in 2 time ranges during the day? For example Every day between 12:00AM and 6:00AM AND between 8:00PM and 11:59PM.
Thanks

How to set Chronos job schedule to run only 4 times every day?

We have a requirement where a particular chronos(https://mesos.github.io/chronos/) job has to be run every 3 hours a day starting from morning 8 AM. So total 4 runs i.e. 8AM, 11AM, 2PM, 5PM and no runs after that. It should repeat every day. How to set such schedule in Chronos? Is it possible?

cron expression - execute task every day of the week starting from an hour and every x hours

I am trying to build a cron expression.
I need to execute a task every day of the week, from 5PM Monday to 5PM Friday, starting from 5PM Monday and every twelve hours until reaching 5PM Friday.
How can I do this?
Also, Is there a good tutorial to learn how cron expression are built?

Cron Job every second week day

I need a cron job to run every second weekday for example
If cron job last ran on a Thursday it should run on the next Monday
The re-run on Wednesday and again on Friday again and on Tuesday and again on Thursday bring it back to the start.
Thanks
Run it every weekday, and have the script set a flag in a file that says whether it did the work the on the previous run. If it did, it skips the work that time and inverts the flag.

Resources