Script to run every 10 mins once.

In bash scripting, write a script for the following requirements.
Script in the name of script1.sh. Run this script in every 5 minutes. Before executing second time verify first time executed command status whether it was executed success or not.

Showing Answers 1 - 2 of 2 Answers

kumar

  • Jul 4th, 2017
 

I want to confirm whether my previous day file processed in sftp server then my current date current date script should start. In what way can we have a check whether previous day file processed. please help me in this.

  Was this answer useful?  Yes

Yogesh

  • Aug 31st, 2017
 

if [ [find. -type -f -ctime+1 -print]=="" ] then
call any function. #call script in function##
fi.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions