Hi Friends,
I have a PowerShell script, which relates semaphore search integrated to SharePoint 2013.
I want to run this script file with SharePoint Timer job.
This script takes minimum 4 hours and maximum 2 or 3 days.
I have the following doubts:
– Can we create a Sharepoint timer job to execute PowerShell script file like task scheduler?
– If yes, can we pause this job in business hours and resume after business hours. Because we don’t want to run this on business timings. Like, if this job schedule  from 11PM to 4AM, if job not completed below 4AM then it pauses and resume it on next day at 11PM from where it pauses.
 Is it possible ? If yes then what are the best approaches?
Please provide your valuable suggestions on this.
Thank you in advance.