如何从FileMaker脚本在我的apache服务器上运行PHP脚本?我试过Open URL
& Insert From URL
并且都不起作用。
答案 0 :(得分:2)
从网址插入绝对有效,只需确保您拥有正确的网址即可。您也可以使用Web查看器来启动脚本。您可以检查Web查看器的内容,或查看使用“从URL插入”脚本步骤指向的字段。
使用“从URL插入”步骤的一点,确保在调用此步骤时目标字段位于布局上。
答案 1 :(得分:0)
如果您在FileMaker服务器上,则可以直接访问命令行。
为了执行任何脚本,您可以像
一样执行shellscript PCollection<T> windowedInput = input
.apply(Window<T>into(
SlidingWindows.of(Duration.standardMinutes(10))
.every(Duration.standardMinutes(1))));
// Extract key from each input and run a function per group.
//
// Q: ExtractKey() depends on the window triggered time.
// How can I pass the timestamp of windowedInputs to ExtractKey()?
PCollection<KV<K, Iterable<T>>> groupedInputs = windowedInputs
.apply(ParDo.of(new ExtractKey()))
.apply(GroupByKey.<K, Ts>create());
// Run Story clustering and write outputs.
//
// Q: Also I'd like to add a window timestamp suffix to the output.
// How can I pass (or get) the timestamp to SomeDoFn()?
PCollection<String> results = groupedInputs.apply(ParDo.of(new SomeDoFn()));
但是对于执行命令行脚本,您需要使用一些插件,如MBS。