Search Results

Search: Posts Made By: nls mchn
2,703
Posted By nls mchn
thx, no there are no clamd username and just 1...
thx, no there are no clamd username and just 1 clamd daemon running.
The "exit;" in awk fixed it:
PID=$(ps hax -o pid,cmd | awk '/clamd$/ { print $1; exit; }')
# and this also
PID=$(ps waux |...
2,703
Posted By nls mchn
weird script in crontab
Hello here's the first line's of the code
that works perfect on command line
but not as a crontab job ???

crontab:
15 * * * * /root/scripts/checkclamd_mem.shscript:
#!/bin/bash

# Checks...
Showing results 1 to 2 of 2

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