CRON for restarting NAMED

Discussion in 'Server Operation' started by ACDII, Jul 14, 2014.

  1. ACDII

    ACDII Member

    Hi All, For some reason my DNS server stops responding, and a stop start of the services resumes it. Its periodic with no set interval of when it stops and since it is scheduled to be replaced in the next few months, I just want to write a script to restart the services daily. I just dont know how to do it.

    Its a normal setup service named stop, service named start.
  2. srijan

    srijan New Member HowtoForge Supporter

    You need

    This is the 0th minute of the 1st hour, every day.

    You can make the cron time adjustment as per your requirement

Share This Page