This patch will restart 3 services (dclogshrec.services, dclogcorej.services, tomcat.services) at 2 AM
This patch will restart desktop service (gdm.services) at 2.05 AM
Steps:
- Login using ‘root’ account.
- Copy the file “root” into /var/spool/cron
- Open terminal > input command crontab -e > press Enter
- Press ‘I’, you will enter editing mode. Remove the “#” from the 2 command line.
- Next, press ‘ESC’ to exit editing mode.
- Press ‘Shift + :’ then type wq to save the changes.
- “Crontab: installing new crontab” is displayed.
- In terminal > input command cat /var/log/cron to display the log.
Change Restart Time
- Open terminal > input command crontab -e > press Enter
- Change the value highlighted below
- Format: Minutes Hour Day Month Week
- E.g: Restart daily 8:40AM > 40 8 * * *
- Take note both services restart command must have at least 2 minutes interval.