it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

Disappearing Crontab Generator

Open dcwestra opened this issue 5 months ago • 1 comments
trafficstars

Describe the bug

When you set the day of week to 0 and then toggle off "Days start at 0" - the generator disappears.

What happened?

I was double checking a default weekly cron job in DietPi and saw that it had a day of week listed as 7. I wanted to adjust it's timing, so to double check it, I ran it through my self hosted instance of it-tools. It gave me the invalid cron warning, so I adjusted the day to 0. I then saw the "days start at 0" toggle and wanted to see if 7 would work with that off. However, I toggled first before changing the number and the generator disappeared!

I double checked by going to the public version at it-tools.tech, and the same thing happens.

At the very least, I would expect the "This cron is invalid" error to show instead.

Screenshots:

Image

Image

System information

My self-hosted instance is running with docker compose in a swarm cluster, not replicated, just for failover. Docker is running on DietPi in a VM on Proxmox.

My browser that experienced this issue in both places is Microsoft edge version 137.0.3296.68 (Offic.ial build) (64-bit)

Where did you encounter the bug?

Public app (it-tools.tech)

dcwestra avatar Jun 12 '25 20:06 dcwestra

HI @dcwestra , probably works here: https://sharevb-it-tools.vercel.app/crontab-generator

And if you arr interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Jun 13 '25 06:06 sharevb

@sharevb also not working on yours. The whole div container just disappears (in both versions, also on it-tech). Also reproducible on firefox, both on it-tools.tech and sharevb-it-tools.vercel.app. Cron entry * * * * * 0 is what I used.

Lunaresk avatar Aug 04 '25 13:08 Lunaresk

Hi @Lunaresk , are you sure you did ctrl+f5: no problem at https://sharevb-it-tools.vercel.app/crontab-generator with * * * * * 0

sharevb avatar Aug 08 '25 13:08 sharevb

@sharevb that's strange. So what I'm doing (on Firefox version 141.0.3 on Windows):

  1. Open https://sharevb-it-tools.vercel.app/crontab-generator
  2. Enter * * * * * 0 into the input field (Unix standard and AWS have the same effect, also reproducible with * * * * 0)
  3. Toggle Days start at 0 to off Then it disappears on me. Can delete my cache and try again you can't reproduce it on your side, but CTRL + F5 I did.

Lunaresk avatar Aug 08 '25 13:08 Lunaresk

Can confirm with Lunaresk. Still disappearing. See screenshots below. First is with my entry with "Days Start at 0" still toggled on. Second is what happens immediately after toggling off.

Image Image

dcwestra avatar Aug 08 '25 13:08 dcwestra

Hi @Lunaresk , @dcwestra , thanks for this bug reporting, it should be ok now in my fork : https://sharevb-it-tools.vercel.app/crontab-generator

And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Sep 27 '25 16:09 sharevb