• Post Reply Bookmark Topic Watch Topic
  • New Topic

scheduling utility execution  RSS feed

 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all:
Being relatively new Linux user, I have not fully discovered all of the power that Linux offers. With that in mind, I have a question. I need to have a program(rsync) run every two hours. The only problem is that I have no idea how to make this happen. Does anyone have any ideas they could share?
All non-RTFM responses are appreciated.
Thanks,
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know what kind of application you are wanting to run, but with this it shouldn't matter. write a shell script similar to the following

I don't know if the time is correct but it is in millisceconds I believe.
 
fred fillah
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alternatively, you can schedule it to run through cron. Type the following for details:
root# man contab
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!