How Can We Help?

Print

How can I periodically force the ACE-MQTT-4G Gateway to restart?

 

Why restarting the Gateway at regular intervals can be useful?

Despite all the attention paid to the firmware development, it may be a good idea to reboot the Gateway regularly to protect against possible of:

  • memory leaks
  • excessive memory consumption
  • resource allocation conflicts
  • network instability
  • remote disconnection from the Internet service provider

 

How to process to add a auto-reboot?

  • In [System] > [Scheduled Tasks],
  • Add this line below, or delete the # in front of the line:
    • 0 * * * * reboot -f Every hour, the Gateway will reboot.
  • [Save] and restart the Gateway

Some others examples:

    • 0 12 * * * reboot -f At 12:00 PM (Midday/Noon)
    • 0 0 * * * reboot -f At 12:00 AM (Midnight)
    • 0 0 */3 * * reboot -f At 12:00 AM, every 3 days
    • 0 0 1,15 * * reboot -f At 12:00 AM, on day 1 and 15 of the month
    • 30 8 */5 * * reboot -f At 08:30 AM, every 5 days
  • Description:
    • * * * * * command to execute
      | | | | |—– Day of week (0 – 6) (Sunday =0)
      | | | |——- Month (1 – 12)
      | | |——— Day (1 – 31)
      | |———– Hour (0 – 23)
      |————- Minute (0 – 59)