How Can We Help?
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, [Save] and restart the Gateway:
0 * * * * sleep 70 && touch /etc/banner && reboot -f
- Every hour, the Gateway will reboot.
- Some others examples:
0 12 * * * sleep 70 && touch /etc/banner && reboot -f
At 12:00 PM (Midday/Noon)0 0 * * * sleep 70 && touch /etc/banner && reboot -f
At 12:00 AM (Midnight)0 0 */3 * * sleep 70 && touch /etc/banner && reboot -f
At 12:00 AM, every 3 days0 0 1,15 * * sleep 70 && touch /etc/banner && reboot -f
At 12:00 AM, on day 1 and 15 of the month30 8 */5 * * sleep 70 && touch /etc/banner && 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)
- * * * * * command to execute