LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2006, 11:03 AM   #1
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Question crontab entries will not execute when not logged


Hi there,

I have been looking around for quite a while now. I did not find any answers that works for me.

I am using Fedora Core3. I have been trying to setup different cron entries to backup different parts of the system in particular.

The cron entries work fine as long as I am logged in as myself. When I logged out, the cron entries are not executed.

I also tried to edit the cron entries as root, to see if that would do the trick. The entries are still not executed.

I am completely out of ideas.

Thank you

 
Old 05-22-2006, 01:12 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
Try to post your backup scripts here if they are not too long.
I am pretty sure cron jobs works even when you are not logged in.
The problem you are having is related to a bug in backup script, not with cron itself.
 
Old 05-23-2006, 03:22 AM   #3
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Original Poster
Rep: Reputation: 35
Here is the command line that I have in my crontab

0 2 * * * /bin/cp -rf /home/* /media/usbdisk/ > /dev/null 2>&1

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when using crontab to execute a .php file doublesheep Linux - General 3 06-10-2004 09:46 AM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 05:27 PM
Can't execute commands when logged in as ordinary user.... murphaph Linux - General 3 04-05-2004 06:23 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 01:35 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration