Hi,
After updating to OTRS5 and the changes with the Cron Jobs I see that only 9 are available for configuration in Daemon::SchedulerCronTaskManager::Task
Any of you know if this can be increased?
Regards,
D.
More than 9 Custom Cron jobs?
Moderator: crythias
-
- Znuny newbie
- Posts: 49
- Joined: 24 Feb 2012, 09:59
- Znuny Version: 5.0.16
- Location: Barcelona, Spain
- Contact:
More than 9 Custom Cron jobs?
OTRS 5
Ubuntu with MySQL
Authenticating users & agents via LDAP
Ubuntu with MySQL
Authenticating users & agents via LDAP
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: More than 9 Custom Cron jobs?
You can add your own config files that adds more tasks...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 49
- Joined: 24 Feb 2012, 09:59
- Znuny Version: 5.0.16
- Location: Barcelona, Spain
- Contact:
Re: More than 9 Custom Cron jobs?
That would be by editing the xml files into /Kernel/Config/Files ?
ex. https://otrs.github.io/doc/manual/devel ... xml-config
??
ex. https://otrs.github.io/doc/manual/devel ... xml-config
??
OTRS 5
Ubuntu with MySQL
Authenticating users & agents via LDAP
Ubuntu with MySQL
Authenticating users & agents via LDAP
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: More than 9 Custom Cron jobs?
Please do not edit .xml files that are shipped with OTRS. Create your own .xml file in Kernel/Config/Files/
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 49
- Joined: 24 Feb 2012, 09:59
- Znuny Version: 5.0.16
- Location: Barcelona, Spain
- Contact:
Re: More than 9 Custom Cron jobs?
Thanks!
Created a new config file:
Rebuilt config
Configured
Restarted Daemon and... working!
Created a new config file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="Daemon::SchedulerCronTaskManager::Task###Custom10" Required="0" Valid="0" ConfigLevel="100">
<Description Translatable="0">Executes a custom cron command or module. Note: if module is used, function is required.</Description>
<Group>CustomCronJobs</Group>
<SubGroup>Daemon::SchedulerCronTaskManager::Task</SubGroup>
<Setting>
<Hash>
<Item Key="TaskName">Custom10</Item>
<Item Key="Schedule">* * * * *</Item>
<Item Key="Module"></Item>
<Item Key="Function"></Item>
<Item Key="MaximumParallelInstances">1</Item>
<Item Key="Params">
<Array>
</Array>
</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Configured
Restarted Daemon and... working!
OTRS 5
Ubuntu with MySQL
Authenticating users & agents via LDAP
Ubuntu with MySQL
Authenticating users & agents via LDAP
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: More than 9 Custom Cron jobs?
Take a note of that .xml so that on your next upgrade/update it won't be lost
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 49
- Joined: 24 Feb 2012, 09:59
- Znuny Version: 5.0.16
- Location: Barcelona, Spain
- Contact:
Re: More than 9 Custom Cron jobs?
good point indeed.
I'll include it in my Ansible Playbook for the next framework upgrade.
Bacula job gets the whole otrs folder as a backup.
Thanks again
I'll include it in my Ansible Playbook for the next framework upgrade.
Bacula job gets the whole otrs folder as a backup.
Thanks again
OTRS 5
Ubuntu with MySQL
Authenticating users & agents via LDAP
Ubuntu with MySQL
Authenticating users & agents via LDAP