Hi All,
last night a cronjob I had scheduled the day before didn't run.
Because I log all changes made in the crontabs (every minute I save the crontab if it differs from the last one),
I found out that a collegue also updated the crontab about the same time, but took longer to finish updating...
Hi All,
we are running MySQL 3.23 on solaris.
The errorlog (<hostname>.err)is growing like hell.
Is there a way to reduce the size of this error-log
without shutting down mysql?
All the time mysql has a lock on this file.
René
Thx jamisar,
no offense in me commenting the script, I thought I might have been way to deep into my problem.
The only thing I wanted to know if there is a single UNIX-command to check filedates.
Luckely I can cut & paste and try your solution !!
well jamisar, just as this forum is named it is a UNIX-korn-shell script on solaris ;-)
to be more precise, with comments now:
if [ -a /mypath/myflag ] # does myflag exist
then # if so, check if it was created within the last 24 hours
check=`find...
For our database-saves we use flags to check if a save is already running. Lately we had some problems with saves hanging for multiple days without us noticing; we have more than 100 DB to save and monitor.
I was thinking how to check the flags date and couldn't come up with a swift solution...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.