Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread OnServerScheduledEvent how to pass more constant
Tue, Apr 25 2006 9:37 AMPermanent Link

Mike Mayer
In 4.x version there is usefull event OnServerScheduledEvent especially for scheduled backups.
But I think it could be improved, more event parameters could be added, not only "EventName" but for example
Database Name which should be BackUp and Path where zip'ed backup placed.

In current version I can't set which database to BackUp from Admin utility
because I can pass only Event Name, the only way which I see is to encode parameters in EventName and then parse
it in ServerScheduledEvent.


Regards,
Mike
Tue, Apr 25 2006 11:08 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< In 4.x version there is usefull event OnServerScheduledEvent especially
for scheduled backups. But I think it could be improved, more event
parameters could be added, not only "EventName" but for example Database
Name which should be BackUp and Path where zip'ed backup placed.

In current version I can't set which database to BackUp from Admin utility
because I can pass only Event Name, the only way which I see is to encode
parameters in EventName and then parse it in ServerScheduledEvent. >>

The solution is simple - just create different scheduled events for the
different databases and have them call one common procedure (wth parameters
for database name, etc.) from within the OnServerScheduledEvent event
handler with the desired parameters.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Apr 25 2006 2:51 PMPermanent Link

Mike Mayer
Thanks Tim for suggestion!




"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:

Mike,

<< In 4.x version there is usefull event OnServerScheduledEvent especially
for scheduled backups. But I think it could be improved, more event
parameters could be added, not only "EventName" but for example Database
Name which should be BackUp and Path where zip'ed backup placed.

In current version I can't set which database to BackUp from Admin utility
because I can pass only Event Name, the only way which I see is to encode
parameters in EventName and then parse it in ServerScheduledEvent. >>

The solution is simple - just create different scheduled events for the
different databases and have them call one common procedure (wth parameters
for database name, etc.) from within the OnServerScheduledEvent event
handler with the desired parameters.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image