2
results
for cron
-
Schwierigkeitsgrad: Es kann etwas länger dauernBir Ahududuyu belirli bir sıcaklıkta kapatmak istiyorsanız, doğru yerdesiniz. Crontab aracılığıyla CPU sıcaklığını kontrol eden bir betiğim var: #!/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 machbarSynology NAS’ta otomatik görevler ayarlamak istiyor musunuz? Lütfen “Denetim Masası “ndaki “Görev Zamanlayıcı “ya tıklayın. Ayarlanan süreler ve tekrarlar “Görev planlayıcısında”, yeni “görevler” yarı cron işleri oluşturulabilir. Süreler ve tekrarlar burada belirlenir. Senaryo Hedef komut dosyası “Görev ayarları” altında saklanır. Benim durumumda, bir zip arşivi oluşturulur. Bu işlevi kendiniz test etmelisiniz.