This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Restart Batchfile

Hello astaro online community

I want to know if it's possible to implement a batchfile which restarts the complete  firewall every day?. What are the necessary steps.

This is a workaround for a hardware issue.

Kind Regards for your help.

Patrick


This thread was automatically locked due to age.
Parents
  • Patrick,

    you can add a file called crontab.reboot in the directory /etc and add the following line into that file:

    For example:
    59 23 * * * root /sbin/reboot

    This will reboot your machine every day at 23:59.
    /bagira
  • Which is not adviseable, since it will spoil the log rotation & archiving mechanism. ASL relies on being turned on 24/7, but if you absolutely MUST perform a daily reboot, I would do this at times were no scheduled processes should be running. Take a look in the crontab at which times processes are run and pick a time where you are sure that no process will be interrupted or skipped by reboot/downtime.

    Regards,
    andreas
Reply
  • Which is not adviseable, since it will spoil the log rotation & archiving mechanism. ASL relies on being turned on 24/7, but if you absolutely MUST perform a daily reboot, I would do this at times were no scheduled processes should be running. Take a look in the crontab at which times processes are run and pick a time where you are sure that no process will be interrupted or skipped by reboot/downtime.

    Regards,
    andreas
Children