Search Results

Search: Posts Made By: edenCC
12,930
Posted By edenCC
Thanks, Ripat, nice examples, so the code can be...
Thanks, Ripat, nice examples, so the code can be eased like this

# Create the lock file
lockfile -r0 ${0}.lock && {
# Your code goes here!
}
# Release the lock file manually
rm -f...
12,930
Posted By edenCC
(Hi, Mod, thanks for your note, I'd pay attention...
(Hi, Mod, thanks for your note, I'd pay attention next time)
2,197
Posted By edenCC
Yes, you can decrease the file size by recreating...
Yes, you can decrease the file size by recreating it.
12,930
Posted By edenCC
Avoid script running multiple times by filelock
Sometimes we need a single instance of a script to run at a time. Meaning, the script itself should detects whether any instances of himself are still running and act accordingly.

When multiple...
Showing results 1 to 4 of 4

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