Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
how to use time function
Name: quadoss Date: June 21, 2006 at 23:38:05 Pacific OS: Linux CPU/Ram: 128 mb ram Product: dell laptop
Comment:
Hi, im a newbie in shell scripting and i have a requirement where in every 20 min till the target time i need to execute a command.
how do i do it???? please help and thanks in advance...
Name: Shr0Om Date: June 22, 2006 at 01:56:29 Pacific
Reply:
Batch scripts doesnt support any real timing functions, so its not preferable for this. But perhaps there are other scripts more suitable for this (which also can run as a shell script). Unfortunately i dont know any, but perhaps someone else does.
0
Response Number 2
Name: ghostdog Date: June 22, 2006 at 04:38:11 Pacific
Reply:
you can just do your shell script, then use the crontab to schedule to run your script every 20min till your target time.
0
Response Number 3
Name: Shr0Om Date: June 22, 2006 at 04:41:47 Pacific
Reply:
Oops.. Didnt noticed you are running Linux. What Ghostdog suggested should work well
0
Response Number 4
Name: quadoss Date: June 22, 2006 at 06:27:12 Pacific
Reply:
thanks you all, the crontab did work fine and i was able to finish the script which i wanted.
Summary: Iam using vb6 .Please can u write any code which can guide me that how to use Switch statement.I shall be so much thankfull if the code would be also execute. For example i have four option buttons...
Summary: Hi, I don't know how to do the following because I don't know how to use the string array in C++. Please Help!!! Thanx! #include <iostream.h> #include <string.h> class pizza { private: char**...
Summary: I am a student of Institut Technologi of Surabaya, how to use the paralel port as comunication under VB programming, what syntax can i use? ...