2
results
for cron
-
Schwierigkeitsgrad: Es kann etwas länger dauernSe volete spegnere un Raspberry ad una certa temperatura, allora siete nel posto giusto. Ho uno script che controlla la temperatura della CPU tramite Crontab: #!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ºC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR="`/opt/vc/bin/vcgencmd measure_temp | cut -d "=" -f2 | cut -d "'" -f1`" # -gt only deals with whole numbers, so round it.
-
Schwierigkeitsgrad: Für jeden machbarVolete impostare attività automatiche nel Synology NAS? Cliccate su “Task Scheduler” nel “Pannello di controllo”. Tempi e ripetizioni stabiliti Nel “task planner”, nuovi “compiti” possono essere creati quasi cron jobs. I tempi e le ripetizioni sono fissati qui. Script Lo script di destinazione è memorizzato in “Impostazioni attività”. Nel mio caso, viene creato un archivio zip. Dovreste testare voi stessi questa funzione.