To configure a refresh script
- Start Group Policy Editor.
- Expand the Unix Setting | Scripts node.
- Double click Refresh Scripts.
The Refresh Script Properties dialog opens.
- Click Add.
The New Script dialog opens.
Note: Typically, you write and test the script on the target platform.
- Click Import.
A file browse dialog appears.
- Select the script file and click Open.
The script you choose automatically displays in the Name field.
Note: If you do not have a script to import, add a name for the script, select it on the property page and click Edit Script. Group Policy opens a text editor to allow you to create it "on the fly".
- In the Parameters field, enter any parameters to pass to the script on the command line.
-
Select Options:
- Run As User: Check this box and enter a user name to force the script to run as a specific user on the Unix host.
- Run once: Check this box to prohibit the script from running more than one time on the Unix host.
- Click Add.
The new script displays in the list of configured scripts for this policy.
- Select the script in the list.
The Script Preview pane displays the read-only contents of the script.
- Click Edit Script to edit the contents of configured scripts.
Your text editor launches with the contents of the script so that you can edit and save the script.
- Close the text editor and save the contents.
The Script Preview pane displays the updated script contents.
The Startup Scripts policy manages the scripts that run each time the Unix agent starts up.
To configure a startup script
- Start Group Policy Editor.
- Expand the Unix Setting | Scripts node.
- Double click Startup Scripts.
The Startup Script Properties dialog opens.
- Click Add.
The New Script dialog opens.
Note: Typically, you write and test the script on the target platform.
- Click Import.
A file browse dialog appears.
- Select the script file and click Open.
The script you choose automatically displays in the Name field.
Note: If you do not have a script to import, add a name for the script, select it on the property page and click Edit Script. Group Policy allows you to create it "on the fly".
- In the Parameters field, enter any parameters to pass to the script on the command line.
- Select Options:
- Run As User: Check this box and enter a user name to force the script to run as a specific user on the Unix host.
- Run once: Check this box to prohibit the script from running more than one time on the Unix host.
- Click Add.
The new script displays in the list of configured scripts for this policy.
- Select the script in the list.
The Script Preview pane displays the read-only contents of the script.
- Click Edit Script to edit the contents of configured scripts.
Your text editor launches with the contents of the script so that you can edit and save the script.
- Close the text editor and save the contents.
The Script Preview pane displays the updated script contents.
The Cron policy manages the Unix cron daemon. cron is the Unix process scheduler. Administrators can specify a set of "crontab" entries that define the behavior and scheduling of the Unix cron daemon.
cron entries are "append only" and cannot be overridden. However, if there is more than one of the same entry, the entry is only added once to the user's crontab file.
For details, refer to the cron man page. See Using manual pages (man pages) for information about accessing the cron man page.