Home > Archive > SQL Anywhere Mobile > May 2005 > Schedling with dbmlsync.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Schedling with dbmlsync.
RAY

2005-05-18, 11:23 am

I would like to run dbmlsync for every 3 hours on the remote. How do I setup
this so that It runs automatically?

Version: 9.0.1 (18883)

Thanks
RAY.


Breck Carter [TeamSybase]

2005-05-18, 11:23 am

Use Windows - Start - ... - Accessories - System Tools - Scheduled
Tasks to launch a batch file on a schedule, or use the sch option:

=====
MobiLink Clients

Adaptive Server Anywhere Client Synchronization Parameters

dbmlsync options

dbmlsync extended options

Schedule (sch) extended option
=====

Breck

On 18 May 2005 08:17:16 -0700, "RAY" <s. rayala@stanleyassoci
ates.com>
wrote:

>I would like to run dbmlsync for every 3 hours on the remote. How do I setup
>this so that It runs automatically?
>
>Version: 9.0.1 (18883)
>
>Thanks
>RAY.
>


--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
RAY

2005-05-18, 1:24 pm

When I set the Sync schedule option to say EVERY 03:00, does it
automatically fire dbmlsync?
RAY
"Breck Carter [TeamSybase]" < NOSPAM__bcarter@risi
ngroad.com> wrote in
message news:k4pm81d94pigstt
eu8a85kdn4p3avrn8gh@
4ax.com...
> Use Windows - Start - ... - Accessories - System Tools - Scheduled
> Tasks to launch a batch file on a schedule, or use the sch option:
>
> =====
> MobiLink Clients
>
> Adaptive Server Anywhere Client Synchronization Parameters
>
> dbmlsync options
>
> dbmlsync extended options
>
> Schedule (sch) extended option
> =====
>
> Breck
>
> On 18 May 2005 08:17:16 -0700, "RAY" <s. rayala@stanleyassoci
ates.com>
> wrote:
>
setup[color=darkred]

>
> --
> SQL Anywhere Studio 9 Developer's Guide
> Buy the book:

http://www.amazon.com/exec/obidos/A...7/risingroad-20
> bcarter@risingroad.com
> RisingRoad SQL Anywhere and MobiLink Professional Services
> www.risingroad.com



Greg Fenton

2005-05-18, 1:24 pm

RAY wrote:
> When I set the Sync schedule option to say EVERY 03:00, does it
> automatically fire dbmlsync?


No, the schedule is used by dbmlsync itself. When a schedule is in
effect, dbmlsync runs continuously awaiting the next synch iteration.
So in this case, dbmlsync would continue to run and every 3 hrs it would
do a synch.

To have it run once and exit every 3 hours, do *not* use a schedule.
Use some external system (like the MS-Windows Scheduled Tasks that Breck
mentioned) to run dbmlsync.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com