Estaciones Meteoclimatic > Envío de datos a Meteoclimatic

Utilidad para subir datos a Meteoclimatic con Linux

<< < (28/43) > >>

ea1zr:
# 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/
# Aqui es donde tengo que poner lo que me dices

jmviper:
La línea no debe de empezar con la almohadilla # o no se ejecutará. Pon en una nueva línea a continuación lo que te he puesto antes.

ea1zr:
No lo guarda de ahí que no este actualizando

jmviper:
Lo editas con nano? Guardas con CTRL + O y ENTER y cierras con CTRL + X ?

Para ver su contenido sin editarlo sudo crontab -l

Con sudo delante es el crontab de root y sin él, el del usuario actual, en este caso el usuario pi que es el de por defecto en raspbian.

Te debería dejar guardarlo

ea1zr:
pi@raspberrypi:~ $ sudo 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
2-59/15 * * * *  /home/pi/meteoclimatic/meteoclimatic.sh

Hay esta guardado....?
Ahora por que no actualiza los datos...?

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa