Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

enable cron

Posted on 1999-07-30
4
Medium Priority
?
1,601 Views
Last Modified: 2012-08-14
hi,
how to enable cron for root ?

And for those user who donot have cron file inside the /var/cron/ ,howto enable them?

tnx
0
Comment
Question by:qazaka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:jji
ID: 1635985
Do you have /etc/cron.allow or /etc/cron.deny? If you
do the users who are allowed to run cron must be listed
in cron.allow. See crontab(1) for further information.
0
 
LVL 4

Expert Comment

by:gunny051499
ID: 1635986
why should you enable cron for root? as long as the cron process is running, it is running as root. if you put something in your /etc/crontab it is what you need. why would you "enable cron for root", i'm asking myself?
0
 

Expert Comment

by:jji
ID: 1635987
 Jobs in cron are not (of course) run setuid-root. So if there is need to run tasks which need root priviledges root must be able to run cron. (or one can create setuid-root scripts and run them....)
0
 

Accepted Solution

by:
kwreese earned 30 total points
ID: 1635988
If you log in as the user for which you want the job to run under, just use the command "crontab -e". This allows you to edit the crontab for whichever user you are logged in as.

Hope this helps.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question