Novell LINUX ENTERPRISE DESKTOP 11 - ADMINISTRATION GUIDE 17-03-2009 Administration Manual page 126

Hide thumbs Also See for LINUX ENTERPRISE DESKTOP 11 - ADMINISTRATION GUIDE 17-03-2009:
Table of Contents

Advertisement

1. /etc/profile
2. ~/.profile
3. /etc/bash.bashrc
4. ~/.bashrc
Make custom settings in ~/.profile or ~/.bashrc. To ensure the correct process-
ing of these files, it is necessary to copy the basic settings from /etc/skel/
.profile or /etc/skel/.bashrc into the home directory of the user. It is rec-
ommended to copy the settings from /etc/skel after an update. Execute the following
shell commands to prevent the loss of personal adjustments:
mv ~/.bashrc ~/.bashrc.old
cp /etc/skel/.bashrc ~/.bashrc
mv ~/.profile ~/.profile.old
cp /etc/skel/.profile ~/.profile
Then copy personal adjustments back from the *.old files.
11.1.2 The cron Package
If you want to run commands regularly and automatically in the background at predefined
times, cron is the tool to use. cron is driven by specially formatted time tables. Some
of of them come with the system and users can write their own tables if needed.
The cron tables are located in /var/spool/cron/tabs. /etc/crontab serves
as a systemwide cron table. Enter the username to run the command directly after the
time table and before the command. In
root is entered. Package-specific tables, located in /etc/cron.d, have the same
format. See the cron man page (man cron).
Example 11.1 Entry in /etc/crontab
1-59/5 * * * *
You cannot edit /etc/crontab by calling the command crontab -e. This file
must be loaded directly into an editor, then modified and saved.
114
Administration Guide
Example 11.1, "Entry in /etc/crontab"
root
test -x /usr/sbin/atrun && /usr/sbin/atrun
(page 114),

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE DESKTOP 11 - ADMINISTRATION GUIDE 17-03-2009 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Suse linux enterprise desktop 11

Table of Contents