Dwunaste_21

 0    21 フィッシュ    michalesq
印刷 遊びます 自分をチェック
 
質問 - 答え -
Two services performing jobs automatically in the system?
学び始める
at / cron
How to start at service?
学び始める
systemctl start atd
How to list all at jobs?
学び始める
atq
How to schedule a job with at?
学び始める
at 12:00am / 12:00pm / +5 minutes / +5 hours / +5 days ... etc + enter // then command
How to put your own logs into the system?
学び始める
logger "The system current uptime is $(uptime)"
Where to put users not allowed to schedule logs with at?
学び始める
/etc/at.deny
Where to put users allowed to schedule logs with at?
学び始める
/etc/at.allow
Where to put users not allowed to schedule logs with cron?
学び始める
/etc/cron.deny
Where to put users allowed to schedule logs with cron?
学び始める
/etc/cron.allow
How to schedule a task with cron?
学び始める
create a file in /etc/cron. d and put following * * * * * user-name command to be executed
How to schedule a task to perform something daily at 9
学び始める
0 9 * * * root /root/del_old_rec/del_old_rec. sh
How to schedule a task which will perform something every 5 minutes?
学び始める
*/5 * * * * root /root/del_old_rec/del_old_rec. sh
How to schedule a task which will perform something between 4th and 14th day every 5 minutes?
学び始める
*/5 4-14 * * * root /root/del_old_rec/del_old_rec. sh
Command shows config files of installed application
学び始める
rpm -qc <application>
Command to run all tasks in anacron
学び始める
anacron -n
What is anacron for?
学び始める
Anacron checks after PC launched if scripts included in /etc/anacron were performed on planned dates. If not, it performs it
How to schedule anacron jobs?
学び始める
period delay job-identifier command // 7 15 test. daily /root/run. sh ---executes script once per 7 days, 15 mintues after system comes back
Where are symlinks for multi-user. target?
学び始める
/etc/systemd/system/multi-user.target.wants
Where is kickstart script?
学び始める
vi /root/anakonda.ks. cfg
How to install kickstart?
学び始める
yum install system-config-kickstart
What server do you need to serve kickstart file to the client?
学び始める
PXE

コメントを投稿するにはログインする必要があります。