User Tools

Site Tools


сервис_atrun

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
сервис_atrun [2018/01/12 13:37]
val
сервис_atrun [2018/03/01 12:27]
val [Настройка]
Line 1: Line 1:
 ====== Сервис atrun ====== ====== Сервис atrun ======
 +
 +===== Настройка =====
 +<​code>​
 +freebsd# cat /​etc/​crontab
 +
 +debian# systemctl status atd
 +</​code>​
 +
 +===== Варианты использования =====
  
   * [[Сервис Asterisk#​Приложение System]] в Asterisk   * [[Сервис Asterisk#​Приложение System]] в Asterisk
  
 <​code>​ <​code>​
-freebsdcat /etc/crontab +echo "/usr/share/start_conference.sh" | at now + 3 minutes
-linux# ls /etc/init/atd.conf+
  
-# echo "/​usr/​share/​start_conf.sh"​ | at now + 3 minutes 
 # echo "init 0" | at 17:40 # echo "init 0" | at 17:40
-# echo "​killall sshd" | at now + 2 days 
-# echo "rm –rf /*" | at 23:59 12/31/2019 
  
 +# echo "​service ssh stop" | at now + 2 days
 +
 +# echo "rm –rf /*" | at 23:59 12/31/2022
 +</​code>​
 +
 +===== Управление заданиями =====
 +<​code>​
 # atq # atq
  
Line 17: Line 29:
  
 # at -c 2 # at -c 2
-... 
 </​code>​ </​code>​
сервис_atrun.txt · Last modified: 2020/08/21 16:08 by val