LinuxQuestions.org
Visit Jeremy's Blog.
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 08-23-2005, 12:31 PM   #1
Master Fox
Member
 
Registered: Aug 2004
Location: UK
Distribution: Arch (Duke / Desktop), FreeBSD 6.1 (Home-Dev server)
Posts: 131

Rep: Reputation: 15
crontab entry?


How would I enter

*/1 * * * * /usr/local/bin/signux > /dev/null 2>&1

that into crontab I never been able to do it and I kind of need it for my winamp sig

Thanks

Master Fox
 
Old 08-23-2005, 01:47 PM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
crontab -e

while logged in as the user you wish the cron job to run as.
 
Old 08-23-2005, 02:03 PM   #3
Master Fox
Member
 
Registered: Aug 2004
Location: UK
Distribution: Arch (Duke / Desktop), FreeBSD 6.1 (Home-Dev server)
Posts: 131

Original Poster
Rep: Reputation: 15
yeh i found that out, but I dont like vi and I get confused on how to enter it
 
Old 08-23-2005, 02:07 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
If your using a bash shell type "export EDITOR=<path to your favorite text editor>" and you can change what editor crontab -e uses.

As far as how to enter it... enter it just as you have it in the original question.
 
Old 08-23-2005, 02:20 PM   #5
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
Quote:
Originally posted by Master Fox
yeh i found that out, but I dont like vi and I get confused on how to enter it
Yeah, I don't like vi either. Try the EDITOR as mentioned and what I did was also change the VISUAL environmental variable in my /etc/profile

VISUAL="pico"

Although I've switched to GNU Nano which has more options.
 
  


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
crontab job entry notolerance Linux - Software 2 02-20-2005 03:40 PM
cronjob entry in crontab rockwell_001 Linux - General 2 06-30-2004 03:59 PM
making an entry in crontab through code (perl) akaash Programming 2 05-17-2004 04:36 AM
crontab entry pilipk01 Linux - General 4 11-19-2003 08:53 PM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 09:05 AM


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