Comments (12)
@gitdevmod you best take a look at the IDS controller https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/ServiceController.php#L121
from plugins.
@AdSchellevis I tried this https://github.com/gitdevmod/plugins/blob/master/sysutils/SSOProxyAD/src/opnsense/mvc/app/controllers/OPNsense/SSOProxyAD/Api/ServiceController.php but I do not see the cron job with "crontab -l". I want to run joinDomain the first day of month.
from plugins.
@gitdevmod did you apply the new settings in Cron? it should generate your crontab to /var/cron/tabs/nobody
from plugins.
How do I apply the new settings? I used "save" button
/var/cron/tabs/nobody does not have my cron job
from plugins.
Apply at the bottom of the screen in /ui/cron/
from plugins.
There is "no results found!" after apply
from plugins.
what does the cron overview look like?
from plugins.
I've this error if I save on my plugin page
An API exception occured
UpdateCron not an attribute of general
from plugins.
which is true :) UpdateCron is not placed inside the general tag, which isn't a problem if you don't try to update general.UpdateCron
from plugins.
Ok, I moved UpdateCron to genral tag no more error with save button in plugin page but still no cron for updateDomain in /ui/cron/ or /var/cron/tabs/nobody
from plugins.
Hi @AdSchellevis, I still have not found a solution about this, any idea? Thanks
from plugins.
@gitdevmod: FWIW, I've added cron functionality to our new security/acme-client
plugin just recently. It worked flawlessly. You may take a look at https://github.com/fraenki/plugins/blob/le_fixes/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/SettingsController.php#L49-L115 for another example.
from plugins.
Related Issues (20)
- Proxy/Squid: wpad.dat not generated correctly because of changes in getIPNetwork HOT 3
- Plugin freeradius entry missing for remote syslog
- Haproxy, Using ${var} in strings is deprecated, use {$var} instead HOT 5
- ACME plugin does not deal correctly with Subject Alternate Names and nsupdate
- os-OPNWAF apache timeouts
- www/caddy - Multiple DNS providers for Dynamic DNS HOT 3
- acme client - automation upload to DSM crashs
- ACME Client - Add a hint where to find the SSH certificate for ACME SSH/SFTP automations.
- Shadowsocks uses deprecated pcre-8.45_4. HOT 1
- net/upnp: show IPv6 pinholes on status page HOT 1
- net/upnp: upgrade miniupnpd to 2.3.6 HOT 6
- net/upnp: enable LOG_INFO / LOG_DEBUG
- www/caddy: searchHandle can crash when reverse UUID is null
- ACMEClient does not populate ACME CA's in Accounts page
- net/upnp: IPv6 pinhole renewal fails HOT 2
- os-zerotier: Add capability to edit <network-id>.local.conf
- net/haproxy: Configuration changes not applied on standby firewall HOT 11
- SSLH GUI Update HOT 2
- rebellion-theme: missing delete button
- net/frr FEATURE add listen range to peer-groups to allow dynamic neighbors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugins.