Control-M run job N days after ordering it - scheduling

I would like to order a job today in Control-M but have it run 8 days later, how would one go about doing this? Tomorrow the job should be ordered again for tomorrow's date and ran 8 days from tomorrow, so on and so forth.

If you want run a job after 8days if it is not schedule on that date then you can order out that job on 7thdays depending up on time . Or if the request is that it should run on permantely on calendar days then you can add schedule and move job to production so that it get automatically order out and run.

Related

BigQuery Scheduled queries only on working days

I need a scheduled query only between Monday to Friday between 9 and 7 o'clock:
Scheduled queries is currently: every hour from 9:00 to 19:00
But how to modify for Mo-Fr ?
every monday to friday from 9:00 to 19:00 not working
every monday from 9:00 to 19:00 working (so day of the week is in general not working ?)
Thanks
UPDATE: The question at hand is much more complex than the Custom setting in BigQuery Scheduled Queries allows. For this purpose, #guillaume blaquiere has the best suggestion: use Cloud Scheduler to run a cron job. Tools like Crontab Guru can be helpful in creating a statement such as 00 9-19 * * 1-5.
For simpler Scheduled Queries, please review the following from the official documentation: Set up scheduled queries.
Specifically,
To specify a custom frequency, select Custom, then enter a Cron-like
time specification in the Custom schedule field; for example every 3
hours.
There is excellent documentation in the Custom Interval tab here on the many options you have available in this field.
thanks for the Feedback. So like this one ? But this is not working

Scheduled on the first Saturday of every month with Cloud Scheduler

I want to configure a job that runs at dawn on the first Saturday of every month through Cloud Scheduler.
Considering the Scheduler Job Frequency setting to be the first Saturday of every month, I have designated it as follows.
ex) 45 2 1-7 * 6
However, it was confirmed that the above scheduler was running on the 23rd, last Saturday.
Is it not possible to configure a monthly schedule in Cloud Scheduler?
If you could give me an answer, I would be very grateful.
I have checked these links in relation to the above.
Your current schedule, 45 2 1-7 * 6, reads as At 02:45 on every day-of-month from 1 through 7 and on Saturday. You can check it on Crontab guru.
In order to set a custom interval, you will need to use the App Engine Cron format.
In this case, try first saturday of month 02:45.

Query Scheduling

I am trying to schedule a query in Google Cloud Platform query scheduler. But whenever I try to schedule, it is hardly executing. What I did is in steps below
1) Created a dataset with location US
2) Created a table in same location
3) Wrote a query
4) Scheduled a query . To check I gave the time to run in the next 3 minutes (not a cron type). Just added a scheduled time
But in the end, 1/10 times, it is executing as per the schedule. Rest, it is not even starting so I could log the error as well. Please advice
More clarification could be needed, but I see two possible situations:
1) You expected it to run on the exact time of the "Scheduled start time", but it doesn't work like this, it runs according to the schedule you set on the "repeats" dropdown. You can verify the exact scheduled time by going to "Scheduled queries" and then check "Next Scheduled"
2) If you set a custom schedule, did you consider that the time is UTC? You can also check the "Next Scheduled" time for what time would it be in your local time.

django-celery crontab schedule for day of month and month

django-celery's crontab class only supports minute, hour and day of week. Is there a way to support the rest of the normal cron schedule options such as month and day of the month? Or will I need to write my own crontab class and overwrite the is is_due() method?
This was issue #569 and was closed on May 2012 (commit dc6508f).
Params day_of_month and month_of_year were added.

Any job queue systems that allow scheduling jobs by date?

I have a Django application.
One of my models looks like this:
class MyModel(models.Model):
def house_cleaning(self):
// cleaning up data of the model instance
Every time when I update an instance of MyModel, I'd need to clean up the data N days later. So I'd like to schedule a job to call
this_instance.house_cleaning()
N days from now.
Is there any job queue that would allow me to:
Integrate well with Django - allow me to call a method of individual model instances
Only run jobs that are scheduled to run today
Ideally handle failures gracefully
Thanks
django-chronograph might be good for your use case. If you write your cleanup jobs as django commands, then you schedule them to run at some time. It runs using unix cron behind the scene.
Is there any reason why a cron job wouldn't work? Or something like django-cron that behaves the same way? It's pretty easy to write stand-alone Django scripts. If you want to trigger house cleaning on some change to you model after a certain number of days, why not create a date flag in the model which is set to N days in the future when the job needs to be scheduled? You could run a script on a daily basis which pulls all records where the date is <= today, calls the instance's house_cleaning() method and then clears the date field. If an exception is raised during the process, it's easy enough to log it or dispatch an email.