Email bei Erinnerung

Hilfe zu Znuny Problemen aller Art
Locked
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Email bei Erinnerung

Post by Michael »

Hallo zusammen!

Wie kann ich einstellen, dass ich bei der Erinnerung zu einem Ticket auch eine EMail über diese Ereinnerung erhalte? Bisher werden mir Erinnerung nur auf dem Dashboard angezeigt.

Grüße
Micha
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Email bei Erinnerung

Post by jojo »

laufen die Cronjobs? Wenn ja, werden während der Arbeitszeiten nach spätestens 2h die Mails verschickt (der Cron Job läuft defaultmäßig alle 2h)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Re: Email bei Erinnerung

Post by Michael »

Hallo,

danke für deine schnelle Antwort.
Ja, die Jobs laufen. Ich habe mich allerdings noch nicht intensiv mit Cronjobs beschäftigt.
Wie sage ich ihm denn, dass diese Emailfunktion für die Erinnerung früher ausgelöst werden soll?
Momentan steht in der pending_jobs folgender Eintrag:
45 */2*** $home/bin/Pending/Jobs.pl >> /dev/null

kann ich diese Zeitintervalle auch über die Gui verändern?

Danke für die Hilfe!
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Re: Email bei Erinnerung

Post by Michael »

Hallo,

wenn ich "Cron.sh start otrs" eingebe, wir mir folgendes gesagt:
"/opt/otrs/var/tmp/otrs-cron-tmp.6041":70: bad day-of-week errors on crontab file, can't install.

Ich habe die pending_reminder so angepasst:
02*** $home/bin/Pending/Jobs.pl >> /dev/null

wollte anschließend die Jobs neustarten und dann kam o.g. Fehlermeldung.

Grüße
Micha
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
michael_maurer
Znuny advanced
Posts: 146
Joined: 07 Aug 2008, 09:20
Znuny Version: 2.4.9
Contact:

Re: Email bei Erinnerung

Post by michael_maurer »

Normal schreibt "rcotrs restart" den ganzen Kram ohne .dist Endung aus "/opt/otrs/var/cron" ins crontab des Users OTRS
Wer Deutsch sät, wird Verständnis ernten!

Prod & Test jeweils:
OTRS 2.4.9
OTRS ITSM 2.1.1
MySQL
Apache
SLES11 SP0
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Email bei Erinnerung

Post by jojo »

sind zwischen den * Leerzeichen? Ansonsten ist man 5 crontab Dein Freund
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Re: Email bei Erinnerung

Post by Michael »

Alles klar, ich hatte einen Syntaxfehler.
Aber eine Frage noch:
Wenn ich
* */1 * * * $home/bin/Pending/Jobs.pl >> /dev/null
eingebe, wird der Job dann jede Minute oder jede Stunde ausgeführt? Ich hätte gerne, dass der Job alle jede Min durchgeführt wird.

Grüße
Micha
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Email bei Erinnerung

Post by Wolfgangf »

Meister, die man page von cron veräts ;)
und es sind die Stunden
*/1 * * * * wirst Du wahrscheinlich wollen
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Re: Email bei Erinnerung

Post by Michael »

Super, danke!

Kann ich die Zeit auch auf Minuten ändern oder geht hier nur volle Stunden?

Grüße!
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Email bei Erinnerung

Post by jojo »

lies die manpage von cron!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Email bei Erinnerung

Post by Wolfgangf »

jojo wrote:lies die manpage von cron!
genau! Ausserdem steht die Lösung schon oben

Code: Select all

*/1 * * * *
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Michael
Znuny newbie
Posts: 33
Joined: 24 Sep 2009, 15:07
Znuny Version: 2.4.4
Contact:

Re: Email bei Erinnerung

Post by Michael »

danke!
OTRS 2.4.7
MySQL 5.0.67
Apache 2.2
OS: openSUSE 11.2 64bit
Locked