Hi Mark,

I'm assuming a Windows server?

If it's a recent build, your workspace should contain something that
looks like this:

#    Commandline to run this workspace:
#    
#    
#    fme.exe mapinfo2csv.fmw
#          --SourceDataset_MAPINFO
W:\GIS\Fonts\SanitarySewer\MapInfo\symtest2.TAB
#          --DestDataset_CSV W:\GIS\Fonts\SanitarySewer

In Windows, you can just use this string (I would recommend adding the
full path to the FME executable) as the command to run for a windows
scheduled task.

If you need to do something fancy (like backing up the destination
files, running sql commands, whatever) before or after running the
workspace and don't want to use the built in Python and TCL pre/post
functions, I've had some success using VBS.  Let me know if you want
some examples.

Jason



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
mrmcclurg
Sent: Thursday, December 14, 2006 08:56
To: [email protected]
Subject: [fme] Automated File Creation

Hi All,

I have a workspace that I would like to use in some form of a batch
script that will reside on our server and be triggered twice a day to
run and regenerate the files specified in the workspace. I have all my
datasources set, and they will not change (at least if they do it won't
be a repetitive thing), so all I need now is a way to create some form
of a batch file or script for the server to run automatically. Are there
any suggestions?

Cheers,

Mark


For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Safe Software has also made slides available that outline enhancements planned 
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 
of the FME Worldwide Users Conference. To view these slides, visit 
www.safe.com/2006uc.

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to