Set crontab Entries
Use the Set crontab entries group policy to manage crontab entries for individual users or for an entire computer. The management of computer-level crontab
entries is performed as the root
user. User-specific crontab entries run under the user’s account.
Select the Computer Configuration > Delinea Settings > Common UNIX Settings > Set crontab entries group policy to configure computer-based policies for the root user.
Select the User Configuration > Delinea Settings > Common UNIX Settings > Set crontab entries group policy to configure user-based policies for individual users.
Both Set crontab
entries group policies are defined in the centrify_unix_settings.xml
administrative template.
If you select Enabled for either group policy, you can then click Show to add or remove entries in the /etc/crontab file
.
To add crontab
entries to the policy, click Add. You can then type the entry to be added to the file using the appropriate format for the local computer’s operating environment, then click OK.
The standard format for entries in this file is:
Minute Hour DayOfMonth Month DayOfWeek User Command
For the Minute field, the valid values are 0 through 59. For the Hour field, the valid values are 0 through 23. For the Day of the Month field, the valid values are 1 through 31. For the Month of the Year field, the valid values are 1 through 12. For the Day of the Week field, the valid values are 0 through 6, with 0 representing Sunday. An asterisk (*) can be used in any of these fields to indicate all valid values.
For the Command field, you should type the entire command line to be executed at the specified times.
For example, to remove core files every weekday morning at 3:15 am, you could type an entry similar to this:
15 3 \* \* 1-5 find \$HOME -name core 2\>/dev/null \| xargs rm -f