Skip to main content
Question

Run workbench on a specific time without initiating it manually


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.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings