span8
span4
Hi
我有一个FME工作区,我正试图作为Windows计划任务运行。
我创建了一个批处理文件,下面的一行将打开FME exe文件,然后运行所需的工作区:
"C:\Program Files\FME\fme.exe" "X:\FunGis\Tools\FME Workspaces\planning\planning_applications_to_postgis.fmw"
This batch file successfully runs when I set the security options to 'Run only when user is logged on',but when trying to set it to 'Run whether user is logged on or not',批处理文件不运行。
Does anyone have any experience of this issue,and how I might solve it?Are there better ways to run workspaces at set times (without FME Server as unfortunately we don't have it!).
I have tried different user accounts,changing the action to run the FME exe file with the argument as my workspace etc,但似乎没有什么能让它工作(我需要在一夜之间运行它,所以不会登录)。
谢谢
我只想说,您可以使用FME云作为购买FME服务器的替代品。That way you could schedule the machine to start/stop and the workspace to run.那么成本是以每小时为基础的,而不是一个,initial expense.Price can be from $1 per hour depending on configuration.The ease of setting it up would depend on where your data is stored.When it is stored in the cloud already then it becomes easier to set up.
我终于让FME工作区作为一个Windows计划任务运行,作为一个服务帐户运行,我想如果它能帮助任何人,我会分享我的笔记。
设置服务帐户:
设置计划任务
Hope that helps.
嗨,大家好,
我也在努力完成一项计划中的故障模式与影响分析工作,而这项工作永远不会正常启动。我要参加Win10。我使用的是管理员帐户,and has set elevated rights on the job.
我还查看了驱动器参考资料,and removed them all,虽然我以前做过用过的工作。The drives are set by the AD during logon.
I've also swapped calling the fme.exe directly with parameters for a BAT file.
I've run the BAT file manually,and this works like a charm.
但没有什么可以作为工作。FME exits after a few seconds with error code 1.它甚至都无法写入日志文件。
I of course want to run whether logged on or not,but so far chosing run when logged on is the only way the job will run.
You may claim that it's a Windows-only problem,但它仍然是fme.exe错误,没有告诉我原因。Any insights on this?
Cheers
Lars
It should be possible to do it this way,in a previous job I ran approx.每晚以类似的方式完成30项任务。
Failures were usually down to either the issue埃里克詹mentioned above with mapped drives only created at log on or updating my password and forgetting to update the 30 scheduled tasks with the new password!
这也可能是定义x:驱动器的问题。
The User running the Windows scheduled task might not have a X: drive or the X: drive is created only when a user is logged into the system.
这可以使用UNC路径(\\server\share\subdirs)而不是x:驱动器来解决。
Hi
这可能是由于Windows中的安全限制,因此与FME几乎没有关系。这里对不同的潜在问题有一个很好的概述:
https://blogs.technet.microsoft.com/askperf/2015/02/18/help-my-scheduled-task-does-not-run/
Hope it helps.
David
© 2019 亚搏在线Safe Software Inc |Legal