Networking Forums

Networking Forums > Computer Networking > Linux Networking > I can't operate crontab

Reply
Thread Tools Display Modes

I can't operate crontab

 
 
jwhan
Guest
Posts: n/a

 
      07-02-2004, 02:01 AM
Hello,

I can't operate crontab. Regarding to linux's situation, Crond is working
withour any errors, there is no cron.allow and cron.deny file. And grammar
is correct to set the crontab.

Do you know why crontab is not working ? Is there some more file concerned
with crontab ?

Thank you.


--
==================================
Cybermed,Inc
Assistant manager of marketing team
Jiwon, Han
Tel: 82-2-545-4282
Fax: 82-2-545-6042
E-Mail: (E-Mail Removed)
Homepage: www.cybermed.co.kr
===================================


 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      07-02-2004, 02:05 AM
On Fri, 2 Jul 2004 11:01:40 +0900, jwhan wrote:
> Hello,
>
> I can't operate crontab. Regarding to linux's situation, Crond is working
> withour any errors, there is no cron.allow and cron.deny file. And grammar
> is correct to set the crontab.
>
> Do you know why crontab is not working ? Is there some more file concerned
> with crontab ?


Please read http://www.catb.org/~esr/faqs/smart-questions.html

Always provide distro and release level when posting. Helps you get
better answers.

Without see that crontab entry/script which is not working any error
messages sent via mail or /var/log/messages there is a pretty slim
hope of solving your problem.

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      07-03-2004, 08:21 PM
These two config files, might be /etc/cron.deny and /etc/cron.allow
specify who are allowed to use crontab.

You have to enter the specific users in one per line in ../cron.allow
file who can submit jobs to crontab.

then run

$crontab -l -u username

hth

raqueeb hassan
bangladesh
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      07-04-2004, 07:40 AM
On Fri, 2 Jul 2004 11:01:40 +0900, jwhan <(E-Mail Removed)> wrote:
> Hello,
>
> I can't operate crontab. Regarding to linux's situation, Crond is working
> withour any errors, there is no cron.allow and cron.deny file. And grammar
> is correct to set the crontab.
>
> Do you know why crontab is not working ? Is there some more file concerned
> with crontab ?


Are you saying that "crontab -e" does not work, or that what you enter
from there does not work? The environment is minimal, so use full paths
for programs and files.

Some people confuse the syntax of periodic cron files (cron.hourly, etc.)
with user crontabs (which are different). If you are able to do "crontab
-e", give an example of an entry that does not work. If your local mail
system was working, crond would usually e-mail you about any errors.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-05-2004, 06:22 AM
On Sat, 03 Jul 2004 13:21:11 -0700, Raqueeb Hassan wrote:

> These two config files, might be /etc/cron.deny and /etc/cron.allow
> specify who are allowed to use crontab.
>
> You have to enter the specific users in one per line in ../cron.allow
> file who can submit jobs to crontab.


The actual rules are a bit more complicated. Check "man crontab". I would
suggest using /var/spool/cron/deny instead, and making sure your desired
user(s) are NOT in there. My SuSE 8.2 system installed with this deny file
containing "guest" and "gast". I'm not sure what happens if you have both
an allow and deny file? Is crontab smart enough to combine both conditions?

> then run
>
> $crontab -l -u username


Yes, running this as root will show you the given username's crontab.
Running as a normal user, you would run "crontab -l" to see your own.

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest way to operate a computer remotely? Tim Downie Home Networking 9 07-01-2010 10:53 PM
How to force a wireless network adapter to operate at certain bit rate? Albert Goodwill Linux Networking 2 10-26-2006 01:53 PM
Can Linux Bridging operate like a Repeater? Brad Rubin Linux Networking 0 07-08-2004 02:50 AM
ifconfig doesn't detect change under crontab Campbell Linux Networking 4 03-05-2004 05:19 PM
executing webalizer from crontab Allan Bruce Linux Networking 1 11-20-2003 03:10 PM



1 2 3 4 5 6 7 8 9 10 11