Is it possible to execute a task with a cmd file?
For our non sftp customers, I have inventory exports set up on a FH Server schedules to execute at 5PM that email a csv file to the customer.
Some customers want their inventory when we're finished processing their orders for the day. In short if we finish at 3PM someone in the office must export the file and email it to them.
I have a workaround with several parts, put would like to execute a FH Server task with a cmd file
That’s quite simple. Just create a new “File Monitoring” task who watch for a specific file, e.g cmd.trigger. In this task you just have to disable the option “hand over current file name”, see screenshot below.
In your CMD script you can now trigger this task with a simple echo output redirected to a file
e.g. echo trigger task > C:\FlowHeater\cmd.trigger
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.