Software > WeeWX
No consigo hacer q funcione
jmviper:
No hay que poner alguna almohadilla en ningún sitio, las almohadillas al principio de la línea sirven para los comentarios y no se ejecutan.
Cómo termina la línea que has puesto en el signo de dólar ??
16,31,46,59 * * * * /home/pi/meteoclimatic/star_meteoclimatic_linux/meteoclimat$
No sé si es que la has copiado y pegado mal o que la has puesto mal.
Una vez que la hayas puesto bien deberías de poderlo ver con crontab -l
HuracanMacan:
yo añado esto:
16,31,46,59 * * * * /home/pi/meteoclimatic/star_meteoclimatic_linux/meteoclimatic.sh
y luego le doy a Crtl+o y pone 24 lineas escritas le doy a enter y cierro ejecutar, algo hago mal seguro
jmviper:
Si vuelves a entrar con crontab -e debería de estar la línea y también te saldría con crontab -l
Si con crontab -l sale no crontab for pi es porque no se ha guardado bien.
Para guardarlo en principio es como tú has hecho ctrl + o y enter y para salir ctrl + x
jmviper:
Esto es lo que me sale a mí cuando guardo el crontab:
jmviper@orangepipc:~$ crontab -e
crontab: installing new crontab
No tengo ni tu mismo usuario ni es una raspberry pero viene a ser lo mismo.
Como ves al guardarlo sale la línea de crontab: installing new crontab
te sale a ti al modificarlo ?
HuracanMacan:
creo q ya esta, ahora sale bien creo:
pi@raspberrypi:~ $ crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
16,31,46,59 * * * * /home/pi/meteoclimatic/star_meteoclimatic_linux/meteoclimatic.sh
pi@raspberrypi:~ $
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa