Skip to main content
Question

CRON interpretor in FME Desktop


philippeb
Enthusiast
Forum|alt.badge.img+20

Hello,

In FME Desktop I request with a REST API my FME Server schedule and I have CRON expressions for some workspaces.

I want to create a calendar with the results, so I would like to have date values for the workspaces scheduled with CRON expressions.

How could I interpret easily those expressions into FME Desktop?

Thanks!

3 replies

david_r
Celebrity
  • October 4, 2018

Maybe this could be a starting point?

https://github.com/Salamek/cron-descriptor

It's a python library that can convert a cron expression into human-readable text in several languages.


philippeb
Enthusiast
Forum|alt.badge.img+20
  • Author
  • Enthusiast
  • October 4, 2018

I found a REST API that can convert 1000 expressions per day!

http://www.cronmaker.com/help/rest-api-help.html

The Python library could have been a way to do it, but I prefer to use a simple HTTPCaller :)


david_r
Celebrity
  • October 4, 2018
philippeb wrote:

I found a REST API that can convert 1000 expressions per day!

http://www.cronmaker.com/help/rest-api-help.html

The Python library could have been a way to do it, but I prefer to use a simple HTTPCaller :)

Who wouldn't! Nice find, thanks for sharing :-)

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