954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to execute an application/program after a certain amount of time has passed linux

hi
I have the following problem...

I have a program (c++ code) which updates some logs ...(i am using linux as the operating system)
I was wondering that is there a way by which i can execute this code/program after every two (or what ever time period expires )by creatiing some sort of script which runs automatically after every two hours and updates the logs by using the program ...

I mean to say that once i run the script the program will be executed after every two hours...

thanks
p.s. if this forum is not for these sort of question i am deeply sorry...

bilalb1
Newbie Poster
18 posts since Aug 2007
Reputation Points: 10
Solved Threads: 1
 

Read the manual page for 'crontab'

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

thanks
that seems to be working...thanks a lot
bye

bilalb1
Newbie Poster
18 posts since Aug 2007
Reputation Points: 10
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You