Technology Questions

Go Back   Technology Questions > Manufacturer Questions > Manufacturers > Apple > Apple Macintosh Hardware

Apple Macintosh Hardware Discuss the Apple Macintosh Hardware

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-06-2007, 07:13 PM
David Shochat
Newsgroup Contributor
 
Posts: n/a
user cron job doesn't run

I tried setting up a cron job for doing a nightly backup over the network,
and as far as I can tell, it just didn't run. crontab -l does show that
the job has been installed (no "you are not authorized" message). In other
Unix systems, I'm used to getting E-mail (via /var/mail) from the cron
daemon if there is a problem with a cron job, but this did not occur. How
can I get it to work (or debug it further)?
-- David

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-06-2007, 07:13 PM
  #2 (permalink)  
Old 02-06-2007, 07:14 PM
Hans Aberg
Newsgroup Contributor
 
Posts: n/a
Re: user cron job doesn't run

In article <z9vqg.6444$b8.5932@fe47.usenetserver.com>, "David Shochat"
<shochatd******.com> wrote:

> I tried setting up a cron job for doing a nightly backup over the network,
> and as far as I can tell, it just didn't run. crontab -l does show that
> the job has been installed (no "you are not authorized" message). In other
> Unix systems, I'm used to getting E-mail (via /var/mail) from the cron
> daemon if there is a problem with a cron job, but this did not occur. How
> can I get it to work (or debug it further)?


I think the mail is sent, but to the UNIX user, not the Mail user. Check
'mail' in the console (like Terminal).

I use lines like ("\" indicating broken line, which should be pasted together)
5 4 * * * /usr/bin/rsync -aEv --delete /Users/ /Volumes/\
External/Users/ > /Users/myname/Backup/backupUsersExternalSCSI.txt 2>&1
Use 'rsync' with Mac OS X.4.7 or later. :-)

In addition, the computer must be awaken from sleep during backup, which
can be done in System Preference/Energy Saver/Options.

--
Hans Aberg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 02-06-2007, 07:14 PM
Hans Aberg
Newsgroup Contributor
 
Posts: n/a
Re: user cron job doesn't run

In article <z9vqg.6444$b8.5932@fe47.usenetserver.com>, "David Shochat"
<shochatd******.com> wrote:

> I tried setting up a cron job for doing a nightly backup over the network,
> and as far as I can tell, it just didn't run. crontab -l does show that
> the job has been installed (no "you are not authorized" message). In other
> Unix systems, I'm used to getting E-mail (via /var/mail) from the cron
> daemon if there is a problem with a cron job, but this did not occur. How
> can I get it to work (or debug it further)?


I think the mail is sent, but to the UNIX user, not the Mail user. Check
'mail' in the console (like Terminal).

I use lines like ("\" indicating broken line, which should be pasted together)
5 4 * * * /usr/bin/rsync -aEv --delete /Users/ /Volumes/\
External/Users/ > /Users/myname/Backup/backupUsersExternalSCSI.txt 2>&1
Use 'rsync' with Mac OS X.4.7 or later. :-)

In addition, the computer must be awaken from sleep during backup, which
can be done in System Preference/Energy Saver/Options.

--
Hans Aberg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron job: TERM environment variable not set Ivan Marsh Linux 17 07-25-2008 07:21 AM
Cron syntax help... Ivan Marsh Linux 3 03-04-2008 11:10 AM
problem running wine as cron job Marcel A.J. van Velzen Linux 1 11-03-2007 02:50 AM
cron.daily bash scripting question Beowulf Linux 2 01-15-2007 12:02 PM
mail program for IDS/cron? Beowulf Linux 5 01-15-2007 12:01 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 05:41 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0