How to scheduled scripted REST API ?

Niuk
Mega Contributor

I have scripted REST API for outbound calls , but don't know how to schedule it thru Scheduled Jobs ? 

1 ACCEPTED SOLUTION

MrMuhammad
Giga Sage

Hi Niuk,

 

You can navigate to System Definitions > Scheduled Jobs

Click on new.

Select Type - Automatically run a script of your choosing

Select the Run - [you choice i.e daily, weekly etc]

Set the Time - [Your choice i.e the time at which you want to execute this job]

Run this Script - [Use this field to make write your script and make outbound rest calls]

 

See Screenshots for reference

find_real_file.png

This job will execute daily on 4 PM to execute the logic I have in one of my script include.

find_real_file.png 

 

Please mark this correct & helpful if it answered your question.

 

Thanks & Regards,
Sharjeel

Regards,
Muhammad

View solution in original post

1 REPLY 1

MrMuhammad
Giga Sage

Hi Niuk,

 

You can navigate to System Definitions > Scheduled Jobs

Click on new.

Select Type - Automatically run a script of your choosing

Select the Run - [you choice i.e daily, weekly etc]

Set the Time - [Your choice i.e the time at which you want to execute this job]

Run this Script - [Use this field to make write your script and make outbound rest calls]

 

See Screenshots for reference

find_real_file.png

This job will execute daily on 4 PM to execute the logic I have in one of my script include.

find_real_file.png 

 

Please mark this correct & helpful if it answered your question.

 

Thanks & Regards,
Sharjeel

Regards,
Muhammad