what are 'on-demand' scheduled jobs and how to trigger them ? Please give an example if possible........

rm3
Giga Contributor

Hi all, can anyone just clarify about 'on demand' scheduled jobs. All other options in the 'Run' field are clear except for this one option. I just wanted to know how this on demand scheduled jobs work and how they are triggered. Can  they be triggered from some other places like business rules or script include?

find_real_file.png

1 ACCEPTED SOLUTION

Munender Singh
Mega Sage

 ,

Hope this use case would clarify your doubt,

Suppose your client want you to update the phone no and address of all users and he provided a spreadsheet where all details are in.

Now you will import the spreadhseet and then,create a scheduled job 'on demand' (as it is once in a while) and ran it and it would update the user records.

Now,after 6 months client came up with new spreadsheet and ask you to make the changes.So,you can use same import set and same on demand schedule djob to update user records.

 

Regards,

Munender

View solution in original post

10 REPLIES 10

dont overthink it

for the 'others' you can 'execute now' to test your script.

it then runs on the schedule you have set.

the 'on demand' option is just for when you click 'execute'

there is no schedule

that's it

It's available for other script schedule types in the event that you need to run it at a time OTHER than the scheduled time. That "on demand" type just states that this ONLY runs when manually executed. Does that make sense?

Munender Singh
Mega Sage

 ,

Hope this use case would clarify your doubt,

Suppose your client want you to update the phone no and address of all users and he provided a spreadsheet where all details are in.

Now you will import the spreadhseet and then,create a scheduled job 'on demand' (as it is once in a while) and ran it and it would update the user records.

Now,after 6 months client came up with new spreadsheet and ask you to make the changes.So,you can use same import set and same on demand schedule djob to update user records.

 

Regards,

Munender

Can I know how it is different from running the background script? 

Thanks in advance. 

Michelle Johnso
Kilo Contributor

I am running San Diego and I can't find the Execute button.  Am I missing something in my setup below that is preventing me from running it?

 

find_real_file.png