I have a scheduled task that is supposed to run an application located on a local machine, and I find this problematic because if I go to the task scheduler and manually run the task, which runs the application on the local machine, it works fine.
When scheduled for a specific time, it does not run, and there is no error message
I assume you refer to Windows Task Scheduler. What I can tell you from running Knime in Bash mode on Linux is that the workspace directory changed to “~/knime-workspace” as it was actually set to be located under “~/Documents/knime-workspace”.
One more very important aspect to consider is saving your workflow will all nodes reset and, after execution, not saving the results (see flags in bash script below).
Anyhow, I could recommend using a shell script instead. There is some well written documentation available and some nice forum post about bash mode.
./knime -consoleLog -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -reset -nosave --launcher.suppressErrors -workflowDir=/ABSOLUTE-PATH-TO-KNIME-WORKSPCACE/knime-workspace/YOUR\ WORKFLOW\ DIRECTORY
Hope this helps.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.