Dwunaste_21

 0    21 schede    michalesq
Stampa Gioca Testa il tuo livello
 
Domanda - Risposta -
Two services performing jobs automatically in the system?
inizia ad imparare
at / cron
How to start at service?
inizia ad imparare
systemctl start atd
How to list all at jobs?
inizia ad imparare
atq
How to schedule a job with at?
inizia ad imparare
at 12:00am / 12:00pm / +5 minutes / +5 hours / +5 days ... etc + enter // then command
How to put your own logs into the system?
inizia ad imparare
logger "The system current uptime is $(uptime)"
Where to put users not allowed to schedule logs with at?
inizia ad imparare
/etc/at.deny
Where to put users allowed to schedule logs with at?
inizia ad imparare
/etc/at.allow
Where to put users not allowed to schedule logs with cron?
inizia ad imparare
/etc/cron.deny
Where to put users allowed to schedule logs with cron?
inizia ad imparare
/etc/cron.allow
How to schedule a task with cron?
inizia ad imparare
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
inizia ad imparare
0 9 * * * root /root/del_old_rec/del_old_rec. sh
How to schedule a task which will perform something every 5 minutes?
inizia ad imparare
*/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?
inizia ad imparare
*/5 4-14 * * * root /root/del_old_rec/del_old_rec. sh
Command shows config files of installed application
inizia ad imparare
rpm -qc <application>
Command to run all tasks in anacron
inizia ad imparare
anacron -n
What is anacron for?
inizia ad imparare
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?
inizia ad imparare
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?
inizia ad imparare
/etc/systemd/system/multi-user.target.wants
Where is kickstart script?
inizia ad imparare
vi /root/anakonda.ks. cfg
How to install kickstart?
inizia ad imparare
yum install system-config-kickstart
What server do you need to serve kickstart file to the client?
inizia ad imparare
PXE

Devi essere accedere per pubblicare un commento.