How to create a script from a txt file on MT Router

Does anybody know how I can dynamically create a script in MT from a txt file on the box ?
I want to be able to have a script which runs every 1 minute or so, and that script reads a file in from the router, which is FTP’d to the router, and then creates a script from that file which is then executed. I want to be able to do this so I can generate a script based on a certain externally determined criteria. Then create a firewall rule based on that information.

Any help would be greatly appreciated.

Regards

Paul

you can make that with a *.rsc extension file where the script should be written. The system scheduler wil just run a script which will perform ‘import file_name.rsc’ command and that’s it. You can also run another script (after some seconds) which will delete this newely created script.

Edgars

Thanks very much, I will give that a try.

Regards

Paul