Copy txt file on a server

Hi,

I want to copy a text file from one folder to another on a server. I want to do this using a scheduled agent.

I created a scheduled agent

Sub Initialize

Filecopy “D:\ZMerge\Source\Test.txt”,“D:\ZMerge\Destination\1.txt”

End Sub

In the agent properties, i set the target as NONE, set the scheduled time.

After the scheduled time, when i checked the log, it said “ERROR: Unknown trigger and search type; agent may be corrupt”

Please pour in you inputs…

I also gave the admin name in “run on behalf of”. but still am getting the same error, also my name is there in the admin group.

thanks,

Gayathri

Subject: Copy txt file on a server

The server name and my name are available.

Subject: Unrestricted scripts/agents

Also make sure that you have rights to run unrestricted scripts/agents on the server.

“Sign or run unrestricted methods and operations:”

Please check what is there for this field in the securities tab of the server document.

Aniz