Search Results

Search: Posts Made By: ron323232
14,285
Posted By ron323232
This is even better, specific to application. But...
This is even better, specific to application. But seems like, something is missing.
Am I using correct syntax ?
[root@test-servs ~]# cat /etc/rsyslog.conf | grep ercapi
ercapi.* ...
14,285
Posted By ron323232
Yes. Second option works. Thanks ...
Yes. Second option works. Thanks
[root@test-servs ~]# logger -p "XY 6990 - ERC API on $(hostname) is restarted" /var/adm/xymessages
logger: unknown priority name: XY 6990 - ERC API on test-servs is...
14,285
Posted By ron323232
Yes, it misses same thing [root@test-servs ~]#...
Yes, it misses same thing
[root@test-servs ~]# logger -p 'XY 6990 - ERC API on `/bin/hostname` is restarted' /var/adm/xymessages
logger: unknown priority name: XY 6990 - ERC API on `/bin/hostname`...
14,285
Posted By ron323232
Logger command not working for one script
Hi,

On RHEL 7.2, I created below script in cronjob for every minute. If this process is found to be not running, it should record message in /var/adm/xymessages, start it and send email.
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy