• Post Reply Bookmark Topic Watch Topic
  • New Topic

Set .sh script run it 24x7  RSS feed

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

What is the best to set .sh script (bash) to run it 24x7 on solaris system.

Please advise me.

Thanks
Sham
 
Arnaud Burlet
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

to have it run and restarted as soon as it stops, use "nohup". Otherwise, to have it run on a regular basis (like twice an hour) use "crontab".

Arnaud
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!