• Benvenuti su RaspberryItaly!
Benvenuto ospite! Login Login con Facebook Registrati Login with Facebook


Tags
Author: Guybrush2012 - Replies: 1 - Views: 2558
Cronjob Script non funziona
Ciao ragazzi,

mi sono fatto un script per inserire Automaticamente in cronjob. Non capisco perché non funziona...


URL="05 15 * * * wget -q -O /tmp/script.sh "http://miodyndns:15000/script.php?UN=12345&PW=67890&" && chmod 755 /tmp/script.sh && /tmp/script.sh >/dev/null 2>&1"

#Check se Crontab esiste se no fare un Crontab
cd /tmp/
crontab -l >> /tmp/crontmp
CRON_EXIST=`grep "0 0 \* \* \* ${URL}" /tmp/crontmp`

if [ -z "${CRON_EXIST}" ]; then
echo "[+] Crontab non esiste creare un crontab.
Author: korpf - Replies: 5 - Views: 5517
Cronjob non funziona su Raspberry Pi
Ciao a tutti,
Ho un problema con un Cronjob che vorrei eseguire sul mio Raspberry Pi.
Vorrei fare uno SpeedTest usando speedtest.net e mandare a me stesso attraverso Telegram (telegram.org) il link dell'immagine PNG dello SpeedTest.
Per fare tutto questo ho eseguito da terminale:
Codice:
speedtest-cli
che ho installato facendo
Codice:
sudo easy_install speedtest-cli
.
Per ottenere il link da condividere basta eseguire [code]speedtest-cli
Forum con nuovi Post
Forum senza nuovi post
Forum bloccato
Forum Redirect