ODB Management on Mac OS
Reg Paling
reg.paling at lokanet.com
Fri Nov 4 02:44:27 EDT 2016
Hi Mirko,
Do these scripts work on macOS 10.12 Sierra?
Startup Items has been deprecated for quite some time, and the Omnis
documentation now recommends using launchd.
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html#//apple_ref/doc/uid/10000172i-SW7-BCIEDDBJ
I have been using launchd for some time now, but with each new release
of macOS from 10.9 to 10.10 to 10.11 to 10.12, the percentage of
bootstraps where the ODB starts up properly has become less and less.
For macOS versions 10.9 to 10.11, I managed to get away with placing a
script in the Login Items, which would try once again if the ODB had not
started up the first time, and that seemed to work mostly. Now with
macOS Sierra, the OBD only starts up about 40% of the time, which means
that adding a second try only increases the reliability to 64%. It
looks like I am going to have to do a loop, retrying until it starts up
properly. I do wish that Omnis Engineering would take a look at why it's
so unreliable. It's my guess that it must be failing silently when some
needed resource is not available, rather than trying again until it gets it.
Omnis support recommends setting KeepAlive to true, but I don't want to
do this, firstly because it will tend to mask any problems (users are
still disconnected when it stops and restarts) and secondly because I
want to be able to stop the ODB for backups.
If your scripts work OK on Sierra, then maybe I will consider using
them, even though Apple make no guarantees about support of Startup
Items in future versions of macOS.
Cheers,
Reg
On 4/11/16 7:31 am, Mirko Pepa wrote:
> Hi Thad
>
> Here it is:
>
> www.helper.ch/download/OmnisDatabridge.zip
>
> Greetings
>
> Mirko
> ---------------------------------------------------------------------------------------------------
> Mirko Pepa, dipl. Wirtschaftsinformatiker
> Profile GmbH, Schaffhauserstr. 103, 8400 Winterthur
> Tel. 052-213 63 33 | www.profile.ch | www.helper.ch
> ---------------------------------------------------------------------------------------------------
>
>> Am 03.11.16 um 19:47 schrieb Thad Bogert <thad at technosolver.com>:
>>
>> Hi All,
>>
>> Does anyone have any tools or thoughts on how to automate the ODB on the Mac to stop at night for a backup? On a similar note, does anyone know if it is safe to make copies of data files while the ODB is running and no clients are connected?
>>
>>
>> Thanks!
>>
>> Thad
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list