LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   crontab entries will not execute when not logged (https://www.linuxquestions.org/questions/linux-software-2/crontab-entries-will-not-execute-when-not-logged-447362/)

fatra2 05-22-2006 10:03 AM

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

:scratch: :scratch: :scratch: :scratch:

marozsas 05-22-2006 12:12 PM

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.

fatra2 05-23-2006 02:22 AM

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.


All times are GMT -5. The time now is 10:23 AM.