Bug 35221 - I can't create a scheduled task.
Summary: I can't create a scheduled task.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 10
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-17 12:52 CET by Jose Manuel López
Modified: 2026-03-19 16:17 CET (History)
1 user (show)

See Also:
Source RPM: Plasma systemsettings
CVE:
Status comment:


Attachments
Warning info message when save schedule task (60.09 KB, image/png)
2026-03-17 13:27 CET, Jose Manuel López
Details
Task Scheduler (75.10 KB, image/png)
2026-03-17 17:49 CET, Marja Van Waes
Details

Description Jose Manuel López 2026-03-17 12:52:22 CET
I have tried to create a scheduled task in the plasma preferences and after configuring all the scheduling, when I try to save the scheduled task I get the notice that I attached in the image.

To check it: 

- Go to "System Preferences" 
- Search for "Scheduled Tasks". 
- Create a scheduled task and apply. 

The error message appears and the task is not saved.
Comment 1 Jose Manuel López 2026-03-17 13:27:15 CET
Created attachment 15483 [details]
Warning info message when save schedule task

This message appears when I tried to save a schedule task from systemsettings in Plasma.
Comment 2 Marja Van Waes 2026-03-17 13:38:09 CET
The error says that your new task is invalid, because it has a bad day-of-week.

What exactly was the scheduled task you tried to enter?

Status: NEW => NEEDINFO
CC: (none) => marja11

Comment 3 Jose Manuel López 2026-03-17 13:53:53 CET
The assigned task is to execute a bash bin file, at a specific time every Tuesday of every month of the year. 

I just tried to schedule another task, which runs for example Konsole and it gives me the same error.
Comment 4 Jose Manuel López 2026-03-17 13:55:17 CET
In fact, I get the same error with any configuration I choose...
Comment 5 Marja Van Waes 2026-03-17 14:34:52 CET
Assigning to the KDE maintainers.

Assignee: bugsquad => kde

Marja Van Waes 2026-03-17 14:35:09 CET

Status: NEEDINFO => NEW

Comment 6 sturmvogel 2026-03-17 16:40:00 CET
Looks like a invalid config from your side (as the error message already states)

https://stackoverflow.com/questions/350047/how-to-instruct-cron-to-execute-a-job-every-second-week

You are missing the 5th field (day-of-week) in your config.
Comment 7 sturmvogel 2026-03-17 16:43:55 CET
Crontab Entries:
All crontab entries [made with crontab -e] have this format, per the man page:
1: The Minute of the hour to execute [command]
Range: 0-59
2: The Hour of the Day to execute [command]
Range: 0-23 3: The Day of the Month to execute [command]
Range: 1-31
4: The Month to execute [command]
Range: 1-12
5: The Day of Week to execute [command]
Range: Check your man page, could be 0-6, 1-7 or 0-7
6: command to execute
Comment 8 Marja Van Waes 2026-03-17 17:49:28 CET
Created attachment 15485 [details]
Task Scheduler

(In reply to sturmvogel from comment #7)
> Crontab Entries:
> All crontab entries [made with crontab -e] have this format, per the man
> page:
> 1: The Minute of the hour to execute [command]
> Range: 0-59
> 2: The Hour of the Day to execute [command]
> Range: 0-23 3: The Day of the Month to execute [command]
> Range: 1-31
> 4: The Month to execute [command]
> Range: 1-12
> 5: The Day of Week to execute [command]
> Range: Check your man page, could be 0-6, 1-7 or 0-7
> 6: command to execute

That's great as a workaround, but he wasn't using crontab, but the Plasma Task Scheduler. See the attached screenshot for an example.
It fails for me, too, I can't press "Apply", but that might be user error. I never use this tool, but use crontab instead.
Comment 9 Marja Van Waes 2026-03-17 17:58:13 CET Comment hidden (off-topic)
Comment 10 Jose Manuel López 2026-03-17 19:28:31 CET
Good afternoon. 

I have verified that activating every day of the month does allow me to save the task without error, but it does not execute. Furthermore, it should allow you to save only the day of the week that you want it to be executed, if not, what is the point of that section?

This is my terminal output:

$ language=en systemsettings
kf.svg: The theme "Glass-Plasma-V6-Dark" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.svg: The theme "Glass-Plasma-V6-Dark" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.plasma.core: The theme "Glass-Plasma-V6-Dark" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.plasma.core: The theme "Glass-Plasma-V6-Dark" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*") label: "Todos los ficheros")
kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Seleccione en la sección <b>Meses</b></message><...}."
kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Seleccione en las secciones <b>Días del mes</b> ...}."
kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Seleccione en las secciones <b>Días del mes</b> ...}."
kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Seleccione en la sección <b>Horas</b></message><...}."
kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Seleccione en la sección <b>Minutos</b></message...}."
org.kde.kcm.cron: "Ha ocurrido un error al actualizar crontab." "<p><strong>Orden:</strong> crontab /tmp/systemsettings.fTVgke</p><strong>Salida estándar :</strong><pre><em>Sin salida.</em></pre><strong>Salida de error :</strong><pre>\"/tmp/systemsettings.fTVgke\":2: bad day-of-week\nInvalid crontab file, can't install.\n</pre>"
Comment 11 Jose Manuel López 2026-03-17 19:31:33 CET
I have verified that: 

- If I mark every day of the month, every day of the week and the specific day of the week, for example Tuesday. The task is saved correctly but it is not executed, regardless of the time (I have tried restarting the computer as well). 

- If I mark every day of the month only, the same error appears and the task is saved.
Marja Van Waes 2026-03-19 16:17:27 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=35234


Note You need to log in before you can comment on or make changes to this bug.