Skip to main content
Question

Run workbench on a specific time without initiating it manually

  • January 4, 2019
  • 2 replies
  • 31 views

parashari
Forum|alt.badge.img+2

Hello. I am trying to run a workbench on AWS EC2 instance.

What I want right now is that the workbench is initiated by itself at a scheduled time.

Going ahead, the later on thing is to turn the machine on, run the workbench, wait till the workbench finishes(till the output is upload on S3), and stop the machine.

Thanks.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Hi @hellblazer - Sounds like you might want to check out FME Server of FME Cloud (Hosted FME Server)?

Failing that take a look at the Windows Task Scheduler (Or the Linux alternative if there is one). That should let you schedule your workspace to run at a particular time.

 

 

I haven't been able to find any examples but here is an article to be aware of: https://knowledge.safe.com/articles/32356/scheduling-software-doesnt-recognize-fme-connectio.html

david_r
Celebrity
  • January 4, 2019

You may want to look into using the EC2 Scheduler for starting the instance:

https://aws.amazon.com/answers/infrastructure-management/ec2-scheduler/

You can place a shortcut to run the workspace in the Startup folder (Windows) or modify the startup script/create a cron job (Ubuntu) to to execute FME once the machine has started.

To stop the instance once FME has terminated, you can e.g. use the AWS CLI in the shutdown script:

https://docs.aws.amazon.com/cli/latest/reference/ec2/stop-instances.html

You will probably get more detailed answers on forums dedicated to AWS.