![]() |
|
|
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 |
| Timed wait? | anjul_thegreat | High Level Programming | 4 | 06-29-2007 10:51 AM |
| connection timed out | paschal | HP-UX | 0 | 06-15-2007 03:40 PM |
| in.timed log entries | hcclnoodles | SUN Solaris | 1 | 12-04-2006 01:40 PM |
| How to Get Timed Input using cin | uxbala | High Level Programming | 5 | 02-23-2005 11:43 AM |
| Connection Timed out | s_aamir | UNIX for Advanced & Expert Users | 2 | 11-20-2002 05:16 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
running command at a particular time
Good Afternoon. You have many tricks in unix to play with. most simple one is the sleep command.if you know that you will run the command after 15 minutes,say echo "$LOGNAME". (sleep 900; echo $LOGNAME) > $LOGNAME.log &. If you dont like a sleep type, then you could use either at or cron command. you need to have the permission to run this. you may just check out the permission by just typing "at" and if does not give any bad remark then you fine.
at now +11 minute <command.list in the command.list you could write down any thing you like to be done. cron is more robust and you could run and rerun the commands. you have to make a file with and then run that as an argument with crontab. crontab mylist. thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|