OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: hopper on January 22, 2020, 07:08:10 am

Title: [SOLVED] Issues with cron in the GUI
Post by: hopper on January 22, 2020, 07:08:10 am
Hi there,
I have a problem with two cron entries in the web interface. The selected jobs cannot be deleted.
The entries in the file / var / cron / tabs / nobody are correct:

Code: [Select]
# DO NOT EDIT THIS FILE - OPNsense auto-generated file
#
# User-defined crontab files can be loaded via /etc/cron.d
# or /usr/local/etc/cron.d and follow the same format as
# / etc / crontab, see the crontab (5) manual page.
SHELL = / bin / sh
PATH = / etc: / bin: / sbin: / usr / bin: / usr / sbin: / usr / local / bin: / usr / local / sbin
#minute hour mday month wday command
# Origin / Description: IDS / ids rule updates
0 0,6,9,12,15,18,21 * * * / usr / local / sbin / configctl ids update
# Origin / Description: Sensei / Sensei periodicals
* * * * * / usr / local / sbin / configctl sensei periodicals> / dev / null 2> & 1
# Origin / Description: cron / Sensei email reports
00 01 * * * / usr / local / sbin / configctl sensei mail-reports> / dev / null 2> & 1

How do I get the two "wrong" entries out of the web GUI?

opnsense version: 19.7.9_1
sensei engine: 1.2.5
AppDB version: 1.3.1
Rules DB version: 1.3.1

I have attached a screenshot from the GUI-entryies and marked the entries.
---
Regards
Rainer
Title: Re: Issues with cron in the GUI
Post by: fabian on January 22, 2020, 07:34:35 am
There is a trashcan icon you can click onto.
Title: Re: Issues with cron in the GUI
Post by: hopper on January 22, 2020, 08:39:22 am
The trashcan didn't work.
Title: Re: Issues with cron in the GUI
Post by: hopper on January 22, 2020, 08:43:45 am
By clicking on the trashcan icon, a dialog appears ("Remove selected item?") But if i click the "YES" button - the dialog disappears and nothing happens.
Title: Re: Issues with cron in the GUI
Post by: franco on January 22, 2020, 10:00:03 am
As said elsewhere, cron jobs registered by (installed) plugins cannot be deleted by design. You can only disable them.


Cheers,
Franco
Title: Re: [SOLVED] Issues with cron in the GUI
Post by: hopper on January 22, 2020, 11:17:22 am
Hi Franco,

thanks for your answer.

Regards
Rainer