Skip to main content
Question

CRON interpretor in FME Desktop

  • October 3, 2018
  • 3 replies
  • 123 views

philippeb
Enthusiast
Forum|alt.badge.img+22

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!

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.

3 replies

david_r
Celebrity
  • 8394 replies
  • 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+22
  • Author
  • Enthusiast
  • 329 replies
  • 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
  • 8394 replies
  • 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 :)

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