Skip to main content
Question

Schedule task under specific account


Forum|alt.badge.img

Hi,

I am using FME Server 2015, is it possible, while logging in as admin, to schedule a task to be run under specific FME server user?

6 replies

david_r
Evangelist
  • January 23, 2017

I don't think that's possible in FME Server 2015. The scheduled task will run as the user who last modified the task definition.

A possible workaround could be to use a master workspace that executes a second workspace using the FMEServerJobSubmitter with the username/password as published parameters.


Forum|alt.badge.img
  • Author
  • January 23, 2017
david_r wrote:

I don't think that's possible in FME Server 2015. The scheduled task will run as the user who last modified the task definition.

A possible workaround could be to use a master workspace that executes a second workspace using the FMEServerJobSubmitter with the username/password as published parameters.

Thanks,

 

Is it possible in 2016 or upcoming 2017?

 

 


nielsg
Contributor
Forum|alt.badge.img+2
  • Contributor
  • January 23, 2017

I am not sure if that is possible. Why would you want to schedule a task under a specific user?

What you can do: Create a Workspace X containing an FMEServerJobSubmitter. Here you can specify the workspace you want to run (Y) and the FME Server user. Next, you can schedule workspace X. X will be ran as admin user and Y will be started by X with a different user.


david_r
Evangelist
  • January 23, 2017
crayxt wrote:
Thanks,

 

Is it possible in 2016 or upcoming 2017?

 

 

FME Server 2016 has the same limitation as 2015 in this regard.

 

I haven't had a proper look at FME Server 2017 yet, but the security model has changed radically so there's some chance this is now possible. You might want to download the FME Server 2017 release candidate and look for yourself: http://www.safe.com/support/support-resources/fme-downloads/beta/

david_r
Evangelist
  • January 23, 2017
david_r wrote:
FME Server 2016 has the same limitation as 2015 in this regard.

 

I haven't had a proper look at FME Server 2017 yet, but the security model has changed radically so there's some chance this is now possible. You might want to download the FME Server 2017 release candidate and look for yourself: http://www.safe.com/support/support-resources/fme-downloads/beta/
I just had a look, as far as I can tell there is no change in this regard for FME 2017.

 


Forum|alt.badge.img
  • Author
  • August 10, 2017
nielsg wrote:

I am not sure if that is possible. Why would you want to schedule a task under a specific user?

What you can do: Create a Workspace X containing an FMEServerJobSubmitter. Here you can specify the workspace you want to run (Y) and the FME Server user. Next, you can schedule workspace X. X will be ran as admin user and Y will be started by X with a different user.

The reason is that there are some users which are not allowed to login to FME server, but there are certain tasks needed to be scheduled to run under those users.

 

 


Reply


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