Export Records (and Import Records) has very specific limitations when performed in a server scheduled script. See this KnowledgeBase article for the details: http://help.filemaker.com/app/answers/detail/a_id/7035/kw/server%20import%20records
If you can't get things to work within those limitations, you may need to use a robot file managed from an Operating System Scheduling tool such as Windows Task Manager. A robot file is a small file with no data, but set to perform a script when opened. This script accesses and performs a script in your hosted database to export your records.
Thank you Phil;
please, can I have a schedule script to open Excel files in a specific Path in the server please??
I have an Excel macro, In the server, that run only when an Excel file is open .Ca I have a solution please for this task??
Did you read the knowledge base article?