• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OS X Screen Saver vs. Timed Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X Screen Saver vs. Timed Scripts


  • Subject: OS X Screen Saver vs. Timed Scripts
  • From: Gary Beberman <email@hidden>
  • Date: Tue, 20 Aug 2002 08:12:37 -0700

I imagine these questions have been asked a few times before--sorry for asking again--but I can't find an example in my archive of the list.

1) How can I execute a timed script when the OS X screen saver's password protection is on and active.
2) Is there a graceful way to get out of the lockout that happens when trying to kick off a script when the screen saver/pw feature is active.

Background for Question 1:
I need to run a maintenance script on a machine at night that needs to have password protection on. I am attempting to do this using crontab. When it executes, the system locks and remains locked until a hard reboot. I can't get the screen saver's dialog box to come up. I can't even ssh into the machine to execute a reboot. So, I can't see what processes are active.

The Applescript calls Filemaker and runs an FMP script against one of its databases.

I believe this is because Applescript (or FMP?) needs to have the Mac interface available to execute. So, how do I get it to execute? Is there a way to kill the screen saver prior to running the applescript? Can this happen from within the Applescript or must it happen in Unix?

Background for Question 2:
The development and production environments are physically far from me. So, if something goes wrong during the day, I have to track someone down to reboot the machine. If it happens at night, I'm out of luck.

I thought one of the benefits of Unix on the Mac was that a process like SSH would be available even if another was failing. When I try to get my ssh connection going, I don't get a request back for my password. I have Timbuktu access to the machine, too. But, without a usable interface, I can't reboot.

Is there any way I can address this problem remotely?

Thanks,

Gary
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Preventing narcolepsy (From: Mikael Jansson <email@hidden>)

  • Prev by Date: Flashing a geforce2 card
  • Next by Date: scripting cookie prefs in MSIE (or another browser)
  • Previous by thread: Re: Preventing narcolepsy
  • Next by thread: "open location" gives "-10814" error
  • Index(es):
    • Date
    • Thread