Fork me on GitHub

Organizations

@github @rss
2 results for cron
  • Difficulty level: It may take a little longer
    images/featured-image.jpg
    If you want to shut down a Raspberry above a certain temperature, then you are in the right place. I have a script that checks the CPU temperature via 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.
    bash cpu cron linux maker Created Fri, 14 Feb 2020 00:00:00 +0000
  • Difficulty level: Can be done by anyone
    Do you want to set automatic tasks in Synology NAS? Please click on the “Task Scheduler” in the “Control Panel”. Times and repetitions set In the “Task Scheduler” new “Tasks” can be created quasi Cronjobs. Here the times and the repetitions are set. Script Under “Task settings” the target script is deposited. In my case a zip archive is made. You should test this function once yourself.
    synology diskstation task cronjob cron Created Thu, 13 Feb 2020 00:00:00 +0000