[csw-maintainers] cswcrontab action script vs the percent sign

Dagobert Michelsen dam at opencsw.org
Wed Apr 14 11:46:13 CEST 2010


Hi,

Am 13.04.2010 um 21:26 schrieb Philip Brown:
> On Tue, Apr 13, 2010 at 10:21 AM, Maciej (Matchek) Blizinski
> <maciej at opencsw.org> wrote:
>> The cswcrontab CAS uses percent as if it was a comment.  However, the
>> percent is not a comment; the way cron works is it pipes everything
>> after the percent into the command being run.
>>
>> More information: http://www.hcidata.info/crontab.htm
>>
>> I think we need to mark the cswcrontab entries by a magic comment
>> above the crontab line.
>>
>> Thoughts?

Looks like though...

> maybe the action needs to be reengineered entirely, to not depend on
> comments like this at all.
>
> Sun does have a few packages that tweak cron. I dont know how it
> handles it, off-hand, but maybe we should emulate that more.

Do you have an example for me or do I need to take SUNW* apart?


Best regards

   -- Dago



More information about the maintainers mailing list