![]() |
Intense logging script
Hi
Just a quick question regarding cron jobs in vB. If i make a cron script which should run every 2 minutes, with 98% of those script runs being without the urge to actually place a cron log entry, where in 2% of the cases where the cron job runs, a cron log entry is needed due to special information, can I handle things in vb like this? Or do i only have an option between "log everything" and "log nothing" ? Because a log entry every 2 minutes is just a huge amount of useless data. For example, my cron script tests a socket connection every 2 minutes. If it's okay, nothing happens. If there's a timeout, I want to log that timeout in the cron log. Any way to accomplish this? Thanks, dp |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|