Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cron on Tiger and Tiger Server



I thought this issue was resolved in 10.4.3???

On Nov 23, 2005, at 16:43 , Banana Flex wrote:

same for me, i use cron, identically as an "old" Mac OS X or a UNIX- like system

man cron

Banana

On Nov 21, 2005, at 2:47 AM, Miguel Arroz wrote:


Hi!

Is there a way to use the good old cron to launch processes at a predefined time on 10.4 systems? I only seem to get Launchd to launch tasks to be done every X minutes (I have two of them on a Tiger Server machine). When I try a task to start, for example, everyday at 1AM (using the StartCalendarInterval), nothing happens... I'm started to get really "happy" about launchd... it's a wonderful idea, but what's the use if it's so buggy it cannot launch my processes in a reliable way?

For example, yesterday I added a new task to be launched at 1AM every day. I checked with launchctl list and it was there. Today, it's 1:45 AM here, and it did NOT run, and does not show up on launchctl list... what the heck is this?

I paste the plist file here, just to check if I'm doing something wrong...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>backupAtlantida</string>
<key>LowPriorityIO</key>
<true/>
<key>Program</key>
<string>/Volumes/BackUps/backups/scripts/backup- atlantida.command</string>
<key>ProgramArguments</key>
<array>
<string>/Volumes/BackUps/backups/scripts/backup- atlantida.command</string>
</array>
<key>ServiceDescription</key>
<string>Backup diario do disco SCSI</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<key>UserName</key>
<string>root</string>
</dict>
</plist>


  Yours

Miguel Arroz

"The world lies in the hands of evil
 And we pray it would last" -- Apocalyptica, Life Burns!

Miguel Arroz
http://www.ipragma.com




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/flex.banana% 40bluewin.ch


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/webmaster% 40macftphttp.serverbox.org


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Cron on Tiger and Tiger Server (From: Miguel Arroz <email@hidden>)
 >Re: Cron on Tiger and Tiger Server (From: Banana Flex <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.