LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-06-2002, 04:07 AM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
change crond time?


hi..

crond does slocate every 4 am..
can i change it to 6am or so?

thank you
 
Old 07-06-2002, 04:10 AM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
another question..

discriptions about anacron, crond, atd services sound similar to each other
--scheduled commend execution...

can i turn off anacron and atd , and leave crond alone ?
or do they do different tasks?

thanks
 
Old 07-07-2002, 03:20 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
I dunno about your second questions, but take a look at /var/spool/cron/crontabs/ if you want to change the time of the locate. You can edit these files to make it start around 6h if it's what you want
 
Old 07-07-2002, 05:11 PM   #4
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
half_elf.. thx
[root@eugene root]# ls /var/spool/cron/
[root@eugene root]#

i don't have crontabs directory ..



i'm searching google...
 
Old 07-07-2002, 10:41 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
You don't have... ?
Herm well I like Mandrake

try something like: locate cron*/nobody
The files you need to find is called nobody (the cron tasks to do for the users "nobody")... well it is called nobody in slackware, dont know about Mandrake

What do you have in /var/spool/cron ?
 
Old 07-08-2002, 12:52 AM   #6
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
[root@eugene root]# ls /var/spool/cron/
[root@eugene root]#

[eugene@eugene eugene]$ locate cron*/nobody
[eugene@eugene eugene]$ locate nobody
/usr/share/pixmaps/nobody.png

=)

well, i'll try to search .. but i'm doing something else now..
thx though
 
Old 07-08-2002, 05:06 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Check out this page from Mandrake's site. There are several pages in the " Scheduling " section that should interest you.

Last edited by linuxcool; 07-08-2002 at 05:07 AM.
 
Old 07-08-2002, 05:53 AM   #8
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37 33.327 E 126 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 30
Hi!
I never really went into the deep details of cron myself, but I think this may help.

You can edit the crontab of a specific user by using the crontab -e command as that user. (note; there IS a way to edit someone else's crontab without logging in as that person, This is usefull for if you have to edit a 'virtual' user like 'daemon' 's crontab. I'm doing this from memory but I think the option -l username will do that)

For commands that need to be executed repeatedly (e.g. hourly, daily or weekly), use crontab, which has the following options:

crontab filename
Install filename as your crontab file.

crontab -e
Edit your crontab file. (Note, by default this opens the editor 'ed', you can change that by setting the EDITOR to your favourite editor)

crontab -l
Show your crontab file.

crontab -r
Remove your crontab file.

As for your second question... I don't know.. sorry..

For more info see man crontab

Have fun!!
Good Luck!
RefriedBean

<EDIT>
I've never used Mandrake before, so if this info does not apply to mdk, please ignore it
</EDIT>

Last edited by RefriedBean; 07-08-2002 at 05:54 AM.
 
Old 07-08-2002, 05:58 AM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
RefriedBean, did you get your time problem fixed?
http://www.linuxquestions.org/questi...750#post112750

Last edited by linuxcool; 07-08-2002 at 06:01 AM.
 
Old 07-08-2002, 06:17 AM   #10
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37 33.327 E 126 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 30
Quote:
Originally posted by linuxcool
RefriedBean, did you get your time problem fixed?
http://www.linuxquestions.org/questi...750#post112750
Reply at the Time problem thread.
 
  


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
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Crond Taking Almost 100% Processor Time ngwasuma Linux - Software 4 01-04-2006 09:05 AM
Daytime Saving time. Cannot change time arubin Linux - General 9 11-06-2004 04:37 PM
Change time? fedivh Linux - General 12 04-21-2004 12:38 PM
Time for a change? RaTBoX Linux - Newbie 6 02-23-2003 01:08 PM

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

All times are GMT -5. The time now is 12:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration