You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/28 14:17:10 UTC
[GitHub] [airflow] pateash opened a new issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
pateash opened a new issue #16692:
URL: https://github.com/apache/airflow/issues/16692
<!--
Welcome to Apache Airflow! For a smooth issue process, try to answer the following questions.
Don't worry if they're not all applicable; just try to include what you can :-)
If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>
Please delete these comment blocks before submitting the issue.
-->
**Description**
<!-- A short description of your feature -->
Users should be able to see a short description of the cron expression when hovering over the expression in a tooltip.

In the above case, the user should see something description like **At 09:30 PM, only on Friday**
**Use case / motivation**
It will be really easy to get schedule information for the users who are not really great at reading CRON,
even for the experience users CRON can be really complicated at times.
We will create a tooltip component which will evaluate underlying cron and show the description.
**Are you willing to submit a PR?**
YES
**Related Issues**
NONE
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-869742730
Sounds like a nice feature to me. How do you plan to geenrate the description? I know there are some online services but am not aware of a Python or JavaScript package for this. And it seems a bit weird to implement it directly in Airflow’s code base.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-871364847
Found the issue on croniter formats: #16107.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870687884
Let’s try it out then! We can carry on with the details in the PR thread.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-871364847
Found the discussion on croniter formats: https://github.com/apache/airflow/issues/16107#issuecomment-869559200. It was not a separate issue but only mentioned in-passing, no wonder I couldn’t locate it before…
Although the six-segment format is valid (TIL), croniter’s current behaviour is not standard, so I think we should do some additional validation to exclude that explicitly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-869742730
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] ashb commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
ashb commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870588997
https://github.com/azza-bazoo/prettycron might do the job? We should check it supports at least everything croniter does.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] lucas-garcia-rubio commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
lucas-garcia-rubio commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-871666508
Cronstrue in Python: https://github.com/Salamek/cron-descriptor
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] ashb edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
ashb edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870588997
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pateash edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
pateash edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870649265
I have used **[cronstrue](https://www.npmjs.com/package/cronstrue)** previously in my projects.
I will prefer to use that;
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pateash commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
pateash commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870649265
I have used **[cronstrue](https://www.npmjs.com/package/cronstrue)** previously in my projects.
may be I will prefer to use that;
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-869742730
Sounds like a nice feature to me. How do you plan to geenrate the description? I know there are some online services but am not aware of a Python or JavaScript package for this. And it seems a bit weird to implement it directly in Airflow’s code base.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pateash edited a comment on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
pateash edited a comment on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-870649265
I have used **[cronstrue](https://www.npmjs.com/package/cronstrue)** previously in my projects.
I will prefer to use that or may be something else.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #16692: Show cron schedule description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #16692:
URL: https://github.com/apache/airflow/issues/16692#issuecomment-869742730
Sounds like a nice feature to me. How do you plan to geenrate the description? I know there are some online services but am not aware of a Python package for this. And it seems a bit weird to implement it directly in Airflow’s code base.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr closed issue #16692: Show schedule_interval/timetable description for schedule cron expression in Airflow UI
Posted by GitBox <gi...@apache.org>.
uranusjr closed issue #16692:
URL: https://github.com/apache/airflow/issues/16692
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org