OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Custom Crons nach Updates
« previous next »
  • Print
Pages: [1]

Author Topic: Custom Crons nach Updates  (Read 2231 times)

Wayne Train

  • Full Member
  • ***
  • Posts: 194
  • Karma: 12
    • View Profile
Custom Crons nach Updates
« on: August 03, 2018, 09:36:10 am »
Hi,
ich kopiere mir meine Config immer zur Sicherung nochmal automatisch per cron auf einen internen Server. Wenn ich Updates einspiele sind die crons allerdings immer verschwunden. Ich mach das klassisch über "crontab -e". Kann es sein, dass ich das an der falschen Stelle mache ? Wo müsste ich sie hinterlegen, damit das Ganze persistent bleibt ?
MFG
Wayne
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Custom Crons nach Updates
« Reply #1 on: August 03, 2018, 09:41:22 am »
Hi Wayne,

/etc/crontab wird überschrieben beim Systemupdate mit dem FreeBSD Standard-File.

Was gut geht ist:

https://docs.opnsense.org/development/backend/configd.html

Wichtig dabei ist, dass jede Action ein "description: xxx" Eintrag hat. Dann kannst du diese Kommandos aus der Cron GUI auswählen.


Grüsse
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Custom Crons nach Updates
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2