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.
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.
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 => NEEDINFOCC: (none) => marja11
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.
In fact, I get the same error with any configuration I choose...
Assigning to the KDE maintainers.
Assignee: bugsquad => kde
Status: NEEDINFO => NEW
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.
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
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.
Btw, Jose, do you see any errors when starting systemsettings from cli and repeating your actions? Please paste them in a comment. I got the below ones (I'll file a separate bug report and will set this comment to off-topic when daviddavid says they're not related to your issue.. I don't want to hijack your report) $ LANGUAGE=en systemsettings kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*") label: "All Files") kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*") label: "All Files") kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from the <b>Months</b> section</me...}." kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from either the <b>Days of Month</...}." kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from either the <b>Days of Month</...}." kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from the <b>Hours</b> section</mes...}." kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from the <b>Minutes</b> section</m...}." kf.i18n.kuit: "Tag 'b' is not defined in message {<__kuit_internal_top__><message>Please select from the <b>Minutes</b> section</m...}."
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>"
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.
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=35234