[bug-notifications] [cswclassutils 0004396]: cswcrontab action script vs the percent sign

Mantis Bug Tracker noreply at opencsw.org
Fri May 21 10:45:26 CEST 2010


The following issue requires your FEEDBACK. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4396 
====================================================================== 
Reported By:                bonivart
Assigned To:                maciej
====================================================================== 
Project:                    cswclassutils
Issue ID:                   4396
Category:                   other
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2010-04-15 14:39 CEST
Last Modified:              2010-05-21 10:45 CEST
====================================================================== 
Summary:                    cswcrontab action script vs the percent sign
Description: 
Mail to maintainers list from Maciej:

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.
====================================================================== 

---------------------------------------------------------------------- 
 (0007940) maciej (developer) - 2010-05-21 10:45
 http://www.opencsw.org/mantis/view.php?id=4396#c7940 
---------------------------------------------------------------------- 
I've reworked cswcrontab.  It now uses a comment in the previous line, for
instance:

# Added by cswcrontab for CSWfoo
30 * * * * /opt/csw/bin/something

Here's the change:
http://sourceforge.net/apps/trac/gar/changeset/9940

The change has been tested with one package.  It needs some more testing.



More information about the bug-notifications mailing list