Wednesday, 26 July 2017

How to know the running monitor in Cron job ?


How to  know the running monitor in Cron job and edit the monitor path and how to save ?


=>Login and type below command:
crontab -e

=>For comment one monitor
Press Esc then type "i" means Insert mode.
Add # before the monitor
e.g
#*/5 * * * *  '/apps/472/monitor/notificationmonitor.sh' > /apps/472/monitor/notificationcron.txt

=>To  save the changes
press ESC  then type  :wq!   

*Here "wq!" means write and quit.

=> Simply to quit from current window without changes
press Esc and type :q!




No comments:

Post a Comment