![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Crontab question | blondie2407 | HP-UX | 12 | 09-16-2009 01:53 PM |
| Crontab Question. | NycUnxer | UNIX for Dummies Questions & Answers | 9 | 11-14-2007 11:53 AM |
| CRONTAB Question | pauls_579 | UNIX for Dummies Questions & Answers | 2 | 01-23-2007 05:46 PM |
| Crontab question | ctcuser | Shell Programming and Scripting | 3 | 10-19-2006 09:22 AM |
| crontab question | steelrose | UNIX for Dummies Questions & Answers | 5 | 10-05-2005 12:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
crontab question
I'm trying to create a crontab entry that will run the who command once per hour Monday-Friday. Any command output should be appended to the file whoison.log in my home directory.
This is what I wrote: crontab 0 * * * 1-5 who >> /home/myhome/whoison.log Did I do this right? Thanks |
|
||||
|
that looks fine except you dont need 2 >> only one. ie:
who > yourlogfile.log learn to be more patient. it was only an hour since you bumped your thread up. and if youve noticed, these boards dont seem to be so busy on sundays.... |
|
||||
|
Thank you both very much.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|