Groups | Search | Server Info | Login | Register


Groups > comp.databases.filemaker > #429

Re: Schedule Exit Script

From cortical <cb@corticaldata.com.au>
Newsgroups comp.databases.filemaker
Subject Re: Schedule Exit Script
Date 2011-10-11 10:27 +1030
Organization Aioe.org NNTP Server
Message-ID <j700pb$1r5$1@speranza.aioe.org> (permalink)
References <1ae74a5f-5125-43f1-a25f-59a16bcba1bb@5g2000yqo.googlegroups.com>

Show all headers | View raw


On 6/10/11 4:07 AM, Keith wrote:
> IMac - Lion - FMPA 11.0v4
>
> Hello Group,
>
> For some reason my friend's IMac often logs out at will - usually
> after being idle for some time.
>
> If I try to log in remotely (P2P) through LogMeIn or TeamViewer, I get
> a message that the computer is not online.
>
> I tried scheduling a shutdown of the IMac every early morning followed
> by a startup.
>
> It seems to work fine - I can then log on
>
> The problem is that FMPA is open&  I'm afraid of damage.
>
> I am looking for a script which would exit the database every evening
> at 8 p.m.
>
> Please request further info if needed, I must have this working before
> Saturday.
>
> Any help would be appreciated.



<<> The problem is that FMPA is open&  I'm afraid of damage.>>

I would be too.


I would use a shell script to close the file(s) if specific files can be 
targeted, and quit FM.

A better alternative would be to write a small FM file to calculute the 
open files/windows (easy), and close them, and quit FM, then just 
execute that file via a launchd/shell script



launchd is the preferred approach for executing the shell script; cron 
jobs are preferentially deprecated: Beginning in Mac OS X v10.4, the 
preferred way to add a timed job is to use a launchd timed job


Trust the OS to prevent open FM file corrupt? I don't think so ( 
translation: absolutely not)

Back to comp.databases.filemaker | Previous | NextPrevious in thread | Find similar


Thread

Schedule Exit Script Keith <francois7675@gmail.com> - 2011-10-05 10:37 -0700
  Re: Schedule Exit Script yourname@yourisp.com (Your Name) - 2011-10-06 09:14 +1300
    Re: Schedule Exit Script Keith <francois7675@gmail.com> - 2011-10-05 13:33 -0700
      Re: Schedule Exit Script yourname@yourisp.com (Your Name) - 2011-10-07 13:14 +1300
        Re: Schedule Exit Script David Stone <no.email@domain.invalid> - 2011-10-07 09:05 -0400
          Re: Schedule Exit Script yourname@yourisp.com (Your Name) - 2011-10-08 20:28 +1300
  Re: Schedule Exit Script cortical <cb@corticaldata.com.au> - 2011-10-11 10:27 +1030

csiph-web