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 11-28-2003, 05:27 PM   #61
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 466

Original Poster
Rep: Reputation: 30

Hmm,

That's an interesting point. When I type crontab -e, all I get is a blank shell with nothing in it. Also, these are the only files listed in that directory. .

[root@ASUSA7V266-E cron]# crontab -e

--------------------------------

And this:

[root@ASUSA7V266-E cron]# pwd
/var/spool/cron
[root@ASUSA7V266-E cron]# ls
tmp.4260 tmp.5210
[root@ASUSA7V266-E cron]#

ls
tmp.4260 tmp.5210

Are you saying I should copy all of that text into a new file (crontab -e)?

Last edited by scottpioso; 11-28-2003 at 05:34 PM.
 
Old 11-28-2003, 06:08 PM   #62
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 466

Original Poster
Rep: Reputation: 30
Hmm, well,

5 PM came and went and it did not run. I'm frustrated very much right now. I read the man pages on CRON and it said that something listed in /etc/crontab would run. Darn it.
 
Old 11-28-2003, 07:43 PM   #63
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Scott ...


Do
Code:
crontab -e
i
copy & paste the line

0 17 * * mon-fri /software/norton.sh

into it using the mouse (highlight the
line in the browser using the mouse,
then middle-click into the crontab... then do
Code:
<ESC>
:wq
Read
man vi
to understand how crontab operates
as an editor.

Cheers,
Tink
 
Old 11-28-2003, 07:45 PM   #64
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Ubuntu
Posts: 466

Original Poster
Rep: Reputation: 30
Hi Tink,

Check this page out on configuring the CRONTAB file.

http://www.redhat.com/docs/manuals/l...cron-task.html
 
  


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
Cron Jobs XaViaR Linux - General 1 06-23-2005 07:57 PM
Cron Jobs with MySQL SharkBait Mandriva 1 06-07-2005 02:23 AM
cron jobs working2hard Linux - Software 0 07-28-2004 06:31 PM
cron jobs Zyanid Linux - Software 0 08-27-2002 06:10 AM
creating cron jobs jonfa Linux - General 5 05-26-2002 06:05 PM


All times are GMT -5. The time now is 06:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration