Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/05/2013, 18:46
Avatar de csar047
csar047
 
Fecha de Ingreso: abril-2012
Mensajes: 3
Antigüedad: 12 años
Puntos: 0
Exclamación Cron sin loguin

Buenas gente, les comento que me estoy adentrando en esto del cron pero tengo unas dudas , necesito estar logueado para que corra el cron ?, osea si reinicio el server necesitare loguearme otra vez para que corra el cron ya que actualmente esto me pasa si no me logueo no me corre el cron les dejo mi configuración de cron

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
*/5 * * * * root /home/blackmark/sharedblackmark/cron/./cronprueba.sh
#

ese cron prueba ejecuta un php simple y si lo prueba directamente el bash si corre normalmente solo es cuando salgo de mi sesión