_27 Posted January 1, 2011 Report Share Posted January 1, 2011 Hello There,I have one question wish to find help here.First, i would like to go through a scenario of the things am doing then will go for the question.- I have application which has functionality to write a file (txt file) from database into a location in a remote server which is windows platform. This step is done successfully.- We schedule a batch to be run (e.g. every 5 mnts) to do some other jobs based on the written file.My question is:Is there a way that this batch can be run automatically after writing a file.Appreciate any help.Best Regards, Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted January 1, 2011 Report Share Posted January 1, 2011 Hi there. You should be able to carry out the operation you require from within the Windows environment without need for further 3rd party software.Consider using, - "Task Scheduler"Here are a couple of links to tutorials on Task scheduler in Windows:Scheduler 1Scheduler 2Scheduler 3If the above links do not quite fit the bill for the operation you are carrying out with your .bat file, a search on Google for "Task Scheduler + Batch File" will probably turn up something nearer the mark.John. Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted January 1, 2011 Report Share Posted January 1, 2011 I have deliberately chosen the third link to be a little more complex, as it gives you full rein to be able to use the command line in Task scheduler to be able to choose commands within the .bat file.As the man says, - "Get creative" :)Hope all works out well.John. Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted January 1, 2011 Report Share Posted January 1, 2011 Oh ! And dont forget that if ever you get into a situation where a .bat file causes problems within automation you can always convert it to .exe and squeeze some extra usage out of it.See HEREIf "Windows Task Scheduler" isn't to your liking there is plenty of Macro/Automation software available. - A lot of it free. See HEREIn the past I've put together some pretty neat automated stuff to do Nana's toast in the mornings. ;) John. Quote Link to comment Share on other sites More sharing options...
_27 Posted January 2, 2011 Author Report Share Posted January 2, 2011 Oh ! And dont forget that if ever you get into a situation where a .bat file causes problems within automation you can always convert it to .exe and squeeze some extra usage out of it.See HEREIf "Windows Task Scheduler" isn't to your liking there is plenty of Macro/Automation software available. - A lot of it free. See HEREIn the past I've put together some pretty neat automated stuff to do Nana's toast in the mornings. ;) John.Many Thanks John, i will go through what you have suggested and let you know if any would help us in our task.Thanks again :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.