hi


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting hi
# 1  
Old 11-24-2004
Bug hi

Smilie hi

can i execute a particular shell program after disconnect from unix server means like if i write a shell program n i want to run it after 5hrs, in the server from the time i send it for execution. is it possible.
# 2  
Old 11-24-2004
Hi,

I think the only way to do that is to use crontab to schedule your task. The thing is that u have to be a privileged user in order to use crontab.

Hope this helps
# 3  
Old 11-24-2004
The easiest way is by using "at".

Use something like
at now + 5 hours ./myscript

You don't necessarily need to be "priviledged" to use cron - it depends what you mean by priviledged - depending on OS, you can specify who is to use cron with cron.allow and cron.deny files.

Cheers
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question