Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Question
How do I go about creating a job in order to launch a shell program every hour?
Answer
- A job element has to be created as a separate file in the hot folder live of the JobScheduler with the below content.
- The job my_shell_script will be started every hour (see <run_time repeat= ...>) and will execute the script my_shell_script.sh.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="iso-8859-1"?> <job> <params/> <script language="shell"> <![CDATA[ my_shell_script.sh ]]> </script> <run_time repeat = "3600" begin = "00:00" end = "24:00"/> </job> |
See also
...
Our JobScheduler Tutorials
...