Highlighted
Absent Member.. Absent Member..
Absent Member..
275 views

How can I schedule a Script to run periodically?

Jump to solution

Dear folks,

 

I have a script that I would like to run every 24 hours; any suggestion of how I could be able to do this?

 

Best regards,

 

Ulises

0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: How can I schedule a Script to run periodically?

Jump to solution

Hi, 

Type sch in command prompt 
Input these values:

Name: Any name
Class: problem
Expiration Time: set to current time (you can adjusts lanching time here) 
Scheduled Class: problem

Repeat Internal: Other > 1 00:00:00  (This means to execute this schedule record every day at time which specified in Expiration time field) 

Java Script tab:  lib.YourLibraryName.YourFunctionNameInYourLibraryName (or u can put script here)
Click 'Add'.
HTH. 

View solution in original post

1 Reply
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: How can I schedule a Script to run periodically?

Jump to solution

Hi, 

Type sch in command prompt 
Input these values:

Name: Any name
Class: problem
Expiration Time: set to current time (you can adjusts lanching time here) 
Scheduled Class: problem

Repeat Internal: Other > 1 00:00:00  (This means to execute this schedule record every day at time which specified in Expiration time field) 

Java Script tab:  lib.YourLibraryName.YourFunctionNameInYourLibraryName (or u can put script here)
Click 'Add'.
HTH. 

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.