From: Michiel Beijen <michiel.beijen@gmail.com>
To: "brianmortonb2b-atwork@yahoo.dk" <brianmortonb2b-atwork@yahoo.dk>; User questions and discussions about OTRS. <otrs@otrs.org>
Sent: Friday, August 24, 2012 12:45 PM
Subject: Re: [otrs] cron jobs syntax
Hi Brian,
Thanks for the
suggestion, but can you please be a little more
specific as to which platforms and versions you know that do not
understand the Vixie syntax OTRS uses?
AFAIK all Linuxen and *BSDs have vixie cron or anacron and this is no
problem there. Also, I still have to run into the first company to
want to run OTRS on AIX or HP-UX.
--
Mike
On Fri, Aug 24, 2012 at 11:33 AM,
brianmortonb2b-atwork@yahoo.dk<
brianmortonb2b-atwork@yahoo.dk> wrote:
>
> The cron jobs that script bin/Cron.sh tries to insert implicitly depends on
> the platform having Paul Vixie's cron because it use the slash syntax for
> repeating ranges. Many Unix/Linux platforms use this cron, but not all.
>
> I suggest to make
this a little more portable. Example: Instead of writing:
>
> */20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
>
> then bite the bullet and do:
>
> 0,20,40 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
>
>
> Yes, I know it looks ugly but it will make OTRS more portable.
>
>
> Lastly not all cron's support the 'crontab filename username' syntax.
> However they all support the 'crontab filename' syntax meaning that in order
> to be truly portable you have to change the script so that it MUST be
> executed as the OTRS user himself, not as root. A small price to pay for
> portability.
>
>
> Brian
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage:
http://otrs.org/>
Archive:
http://lists.otrs.org/pipermail/otrs> To unsubscribe:
http://lists.otrs.org/cgi-bin/listinfo/otrs