LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2005, 01:24 AM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
crontab as root


I've been reading that crontab schedules only work while you are logged in. However, I've been creating all my crontab entries as root, and they seem to be running whether I'm logged in or not.

Is it a case that root crontab runs whoever is logged in, or even if no-one is logged in?

Thanks
 
Old 03-03-2005, 01:49 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
all crontab entries, whatever the user, are run as long as the crond is running, so as long as tyhe machine is turned on. You dont need to have a user logged in.
 
Old 03-03-2005, 02:13 AM   #3
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks Artanicus, that's what it looked like, I just wanted to make sure
 
  


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
cannot use crontab as root???? rnj Linux - Software 2 10-24-2004 10:24 AM
Crontab "root user" problems... Clubber Lang Linux - General 3 09-30-2004 09:29 AM
root crontab plisken Slackware 8 05-02-2004 11:41 AM
How to restore original root crontab vrillusions Slackware 1 04-21-2004 09:54 PM
problems with crontab for root reqvidd Linux - Newbie 2 11-10-2003 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 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