c0TaHa 0 Posted 2004-12-04 04:52:42 Share Posted 2004-12-04 04:52:42 Подскажите как мне сделать в кронтабе запуск проги каждые 10 секунд?? Link to post Share on other sites
Quarcel 0 Posted 2004-12-04 08:27:57 Share Posted 2004-12-04 08:27:57 вроде меньше минуты нелзья интервал делать Link to post Share on other sites
nn 7 Posted 2004-12-04 10:26:42 Share Posted 2004-12-04 10:26:42 Crontab -ом не сделаешь, а скриптом, пожалуй можно. есть такая команда sleep , вот с ее помощью можно сделать, то что требуется. Т.е. В crontab прописываешь каждую минуту исполнять скрипт, в котором: your_command; sleep 10; your_command; sleep 10; your_command; sleep 10; your_command; sleep 10; your_command; sleep 10; Возможно прийдется подобрать параметр для sleep , птому что сама комада выполняется некоторое время. Link to post Share on other sites
c0TaHa 0 Posted 2004-12-05 07:19:49 Author Share Posted 2004-12-05 07:19:49 Большое спасибо все работает!!!! Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now