Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




Periodic command execution: cron and at Next Up Previous Contents Index
Next: Graphical user interface Up: Major services in a Previous: Syslog

 

Periodic command execution: cron  and at

Both users and system administrators often need to run commands periodically. For example, the system administrator might want to run a command to clean the directories with temporary files (/tmp  and /var/tmp ) from old files, to keep the disks from filling up, since not all programs clean up after themselves correctly.      

The cron  service is set up to do this. Each user has a crontab , where he lists the commands he wants to execute and the times they should be executed. The cron  daemon takes care of starting the commands when specified.  

The at  service is similar to cron , but it is once only: the command is executed at the given time, but it is not repeated.  



Lars Wirzenius
Sat Nov 15 02:32:11 EET 1997


With any suggestions or questions please feel free to contact us