Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, July 10, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Problem with Agents
awaqxi
Posts: 13
 
Problem with AgentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 May 08 2:00 AM
Hello,

I have a problem with running Agents. I have created Agent that should run a script once a day. But it doesn't work. I've read in help that Agents won't run without Sync Server running. But our synchronization works correctly and it synchronizes every 5 min. Also i've read that Application object can't be used in scripts run under Agents. Is it realy so? It seems to me that we can't do anything without Application object.

What should be done to run Agents? Or if it isn't correct to use Agents to run scripts schedully is there any other way to do that?

Thanks.

P.S. sorry for my english
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Problem with AgentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 May 08 11:33 PM
Hi Alex - your point about using the application object is probably what is causing the problems. You can, in fact, do quite a lot without using the application object - you just have to code around it.

If you provide details of what you are trying to achieve, someone here will probably know how to do it.

Phil
[Reply][Quote]
awaqxi
Posts: 13
 
Re: Problem with AgentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 08 11:10 AM
Hi Phil,

Thanks for answering.

Since i've writen this post i've changed my Agent. I created .cmd file which runs script (.vbs file). It works correctly - if i run .cmd it moves nescessery files to the speciefied folder.
If i run AgentQueue manualy - the Agent works and moves files. But it don't works by schedule. First it has status 'Waiting' then 'Pending' without any action.

I've read that SyncServer should be run manualy at least one time. We did it: stoped SyncService, run Server, run Sync Cycle.
But Agents hasn't worked!
Even when we started Custom Sync and checked Run all pendinfg Agents, the message was - no Pending Agents.
But my Agent has status Pending. It seems to me that i miss somthing but i don't know what.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Problem with AgentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 08 5:40 PM
If this is just a file-manipulation script, writing it in VBS and scheduling it via Windows Task Scheduler is a perfectly good way of doing it.

I tend to use DTS/SSIS for jobs like that, just for visibility and ease of use - keeps everything together.

Phil
[Reply][Quote]
awaqxi
Posts: 13
 
Re: Problem with AgentsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 May 08 6:33 AM
Phil,

thanks for the idea! Using Windows Task Scheduler is possible, but our client doesn't want to use them.
The task is to use Agents.
Is there any specail that should be done with Agents if synchronization works correctly but they don't?
Even if we won't use Agents now, we should make them work to use them in future.

Our task now is: to get files list from the table, check their last modify date, move them to the folder.

What about DTS? Can our task be done with them?
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/10/2025 10:14:17 PM