0

I want to set a cron job in ubuntu with this job

I have a python webscraping program which needs to be scrapped continuously after the program is terminated. In other words the flow is like this

If program is terminated, set the cron job again (until infinity)

Can this be done?

thanks

  • Yes it can be done. Add a simple bash script in cron that will check if the program is running and start it if it wasn't. – clement Mar 20 '14 at 14:24
  • Can you please write it from me? I am very beginner in bash. The program i want to run is python.py – user3418147 Mar 21 '14 at 09:14

0 Answers0