The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-10-2005
rayne rayne is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 15
timed commands

Hello,

How can I set up events to be executed at a certain time? And do I need some kind of privilege such as being in cron group?
  #2 (permalink)  
Old 11-10-2005
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,813
You create cron entries or use the "at" command. On most systems both of these things are protected because they can be exploited - ie., hacked.

try
man at

man cron
  #3 (permalink)  
Old 11-10-2005
tom_k_mishra tom_k_mishra is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 4
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0