Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/03/2016, 03:18
Avatar de barna_rasta
barna_rasta
 
Fecha de Ingreso: agosto-2003
Mensajes: 214
Antigüedad: 20 años, 8 meses
Puntos: 11
Respuesta: Ejecución de script linux con crontab

Encontre esta pagina info de crontab sobre QNAP

http://wiki.qnap.com/wiki/Add_items_to_crontab
http://unix.stackexchange.com/questi...-errors-logged
http://serverfault.com/questions/418...t-is-scheduled
http://forum.qnap.com/viewtopic.php?t=12811

para editar el crontab, en lugar de ' vi ', que deberia ser lo mismo, pero ................
Cita:
Editing the crontab is also easy, on the console type:
crontab -e

To view the content of the crontab, login to your qnap using telnet and type:
crontab -l

Once you have edited the crontab, execute the following to activate it:
/etc/init.d/crond.sh restart
a observar la ruta del ejemplo, que quizas sea solo un ejemplo o quizas un obligatorio.
Cita:
[email protected]
1 4 * * * /share/custom/scripts/custom1.sh
40 5 * * * /share/custom/scripts/custom2.sh