10.10. Creating a New Scheduled Command

A new command that executes at the time and as the user of your choice, can be created by following these steps:

1.
Enter the name of the user that you want the command to run as into the Run as user field on the main page of the module in the New scheduled command form.

2.
Fill in the Run on date and Run at time fields with the date and time on which the command is to run.

3.
Set the Run in directory field to whatever directory in which you want the command to run.

4.
In the Commands to execute text box, enter as many shell commands as you want—one per line.

5.
When done, click the Create button. The page will be refreshed and your new command will appear on the list at the top of the page.

Scheduled commands created from within Webmin will use environment variables set by Webmin itself, which are not be the same as the variables that would have been set if the command was created by its owner at the shell prompt.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.134.102