I have a filewatcher job on my CM server that watches for a file on a my target machine(file watch agent is running on this machine as a service).When I run the job,it fails and sysout log says.
"Parameters -Agent <agent> are mandatory"
I am not sure what agent paramters,it is expecting!!and where is those settings located ?
Thanks in Advance..
File watcher error question
sorry If I an being dumb here...
I have GUI File Watcher Job defined in the desktop.In 'Filewatch' tab,I provided required params and in 'Execution' tab I put my agent NodeID name.
I hope "ctmfw -agent %%NODEID \\fileserver01\net\apps\arch*.dat 0 60 3 10 0" is same thing that I set up in Desktop GUI explained above.
Thanks for you reply..
I have GUI File Watcher Job defined in the desktop.In 'Filewatch' tab,I provided required params and in 'Execution' tab I put my agent NodeID name.
I hope "ctmfw -agent %%NODEID \\fileserver01\net\apps\arch*.dat 0 60 3 10 0" is same thing that I set up in Desktop GUI explained above.
Thanks for you reply..
niras,
there are many way to run a file watch.
- in windows you can use a service (but no desktop definition)
- with the ctmfw utility (see the documentation) more powerfull and flexible
- In the CM for Advanced File Transfer there is also this option with some parameters.
Your definition in desktop, can be one of these.
I recomend to you to use the ctmfw utility, so in the definition using a command or a job to define the FW.
There you must use the -agent option because your destination agent is in cluster or there is more then one angent on the same machine.
So provide the -agent "name" were "name" is the name of the agent (different fromn default).
there are many way to run a file watch.
- in windows you can use a service (but no desktop definition)
- with the ctmfw utility (see the documentation) more powerfull and flexible
- In the CM for Advanced File Transfer there is also this option with some parameters.
Your definition in desktop, can be one of these.
I recomend to you to use the ctmfw utility, so in the definition using a command or a job to define the FW.
There you must use the -agent option because your destination agent is in cluster or there is more then one angent on the same machine.
So provide the -agent "name" were "name" is the name of the agent (different fromn default).