Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 7579

Create a file on services start up

$
0
0

Hi All,

I have a requirement where i need to start some services when the server reboots, for this i have a .bat file that starts the services and i placed this in the startup folder. My other need is i want to create a simple file (any type) once the services are started . The reason is i have to start services on a different server and this task should be started once all the services are started on the first server. I'm thinking once the file is created i have my script on the second server to look for this file and if exists start the services on the second server. 

On the first server i have the script to start the services as

cmd /c F:\Oracle\Middleware\user_projects\epmsystem1\bin\start.bat

To this i added fsutil file createnew EmptyFile.txt 0, but the create file part is not working. Any ideas please?

Thanks


Viewing all articles
Browse latest Browse all 7579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>