MID server / Script includes / Background script

Henri4
Kilo Contributor

Good morning,

My goal is to send automatically the data of my "update sets" by a MID Server to an other laptop. Well, I find the solution and it's working. I created a script into "script include" and when I run my "background script" I can see the folder on the desktop of my other laptop. The problem is, how can I do now to have the same result but without runing my program with the background script, so with my hand ? To sum up, how can I do to automate the solution ?

It was my first question, because I don't know where I can put my background script to automative the task !! 

And my last question is small I promess. How can I do to automative this task all the day at 8 o'clock for exemple ? I know we have an item "Scheduled Data Exports" which can help me but If I don't have the first solution I can't do that...Or may be I just need to put some code into my background script..?

Have a god day ! 
Henri.


 

 

1 ACCEPTED SOLUTION

Dubz
Mega Sage

You could run the code you have in your background script from a scheduled job so that it executes at the same time every day. 

View solution in original post

3 REPLIES 3

Dubz
Mega Sage

You could run the code you have in your background script from a scheduled job so that it executes at the same time every day. 

rakesh18081989
Tera Contributor

Try Export set.

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/export-sets/task/t_CreateAnExportSet.html

This will require less or no coding and data can be transferred to another system but this system should be part of local network accessible through Mid Server.

 

Regards

Rakesh Agarwal

rakesh18081989
Tera Contributor

Try Export set.

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/export-sets/task/t_CreateAnExportSet.html

This will require less or no coding and data can be transferred to another system but this system should be part of local network accessible through Mid Server.

 

Regards

Rakesh Agarwal