Is it possible to just specify an Azure automation job once, without affecting the schedule? -


i specify azure automation job once ie "scale db1 standard s2 using credential - mycredential". have provide these parameter values every time set new schedule. there seems no concept of creating specific job , specific schedule , linking 2. yes link jobs schedules, schedule can take 1 job, have unlink schedule first before being able link job.

i guess desired relationship is:

job -< jobschedule>- schedule 

and have

job -< schedule. 

but job can defined when setting schedule.

i job list like:

jb-weekdaynightscaledownqav11 jb-weekdaynightscaledownqav12 jb-weekdaymorningscaleupqav11 jb-weekdaymorningscaleupqav12 jb-weekendstartscaledownqav11 jb-weekendstartscaledownqav12 

for schedules want:

sch-weekdaymorning sch-weekdaynight sch-weekendstart 

having defined these 9 objects, edit them individually without affecting of others. linkages might like:

sch-weekdaymorning   -jb-weekdaynightscaledownqav11   -jb-weekdaynightscaledownqav12 

however fear not possible.

it seems 1 cannot define azure automation predefined parameter values, or runbook code, should add 2 instance of "set-azuresqldatabaseedition" runbook, , edit code of each point seperate database servers etc. bit puzzling....

thanks in advance help.

edit

i have checked out linking azure scheduler azure automation, , there seem opinion pretty complex abilities @ present agree with. link how link azure scheduler azure automation

you mention above schedule can take 1 job -- not case. meant can associate runbook schedule once (one job per runbook per schedule), correct. want clarify else comes across post.

for trying do, recommend creating runbook starts other runbooks (inline or separate jobs, you). put runbook on schedule covers intervals needed, , have it, within runbook, check current time determine other runbooks should start, , parameters should pass them.

in addition, have blog post coming out on how (much more easily) link azure scheduler jobs start azure automation runbooks (using azure automation webhooks). way this.

update: here's blog post mention: http://azure.microsoft.com/blog/2015/08/05/scheduling-azure-automation-runbooks-with-azure-scheduler-2/


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

wso2esb - How to concatenate JSON array values in WSO2 ESB? -