Create Shell JOB

In this section you will learn how to create a DMS scheduled shell job.

Add your job in jobsmanager.json file in conf folder:

	"enabled": true,
	"jobname": "<yourjobname>",		
	"schedule": "* * * * * *"		

Add a new shell configuration file in conf folder. Name it using this pattern:


Declare your shell command as the follow

	"cmd":"command to execute"

For example to execute a localhost ping write:


Logging Shell Command

Every shell job has its own log file under logs folder. Log file name follow this pattern:


Scheduling your job

To correctly schedule your job please follow configuration page the scheduling syntax paragraph.

See also