Here's the best I can get. Sometimes I had to use ^V ^J to get the newlines correct. I don't know PHP, but I presume it must have a "system()" call if you're planning to use remind.
herman-pts/7:~% echo " rem thu 8 msg 2nd thursday rem thu 22 msg 4th thursday " | remind -s1 - 1 nov 2014 2014/11/13 * * * * 2nd thursday 2014/11/27 * * * * 4th thursday herman-pts/7:~% echo " rem thu 8 msg 2nd thursday rem thu 22 msg 4th thursday " | remind -s1 - 1 dec 2014 2014/12/11 * * * * 2nd thursday 2014/12/25 * * * * 4th thursday herman-pts/7:~% echo " rem thu 8 msg 2nd thursday rem thu 22 msg 4th thursday " | remind -s1 - 1 jan 2015 2015/01/08 * * * * 2nd thursday 2015/01/22 * * * * 4th thursday --hymie! http://lactose.homelinux.net/~hymie [email protected] >On Thu, Oct 30, 2014 at 6:17 PM, Theodore M Rolle, Jr. <[email protected]> >wrote: > >> I think we're getting closer! >> It's amazing what other points of view open up. >> >> On Thu, Oct 30, 2014 at 4:31 PM, <[email protected]> wrote: >> >>> Try the -s flag. >>> >>> herman-pts/4:~% remind -s .reminders 1 nov 2014 >>> 2014/11/03 * * * * 8pm dance lesson #2 >>> 2014/11/10 * * * * 8pm dance lesson #3 >>> 2014/11/12 * * * * wife payday >>> 2014/11/14 * * * * payday >>> 2014/11/17 * * * * 8pm dance lesson #4 >>> 2014/11/24 * * * * 8pm dance lesson #5 >>> 2014/11/26 * * * * wife payday >>> 2014/11/27 * * * * thanksgvg day >>> 2014/11/28 * * * * thanksgvg >>> 2014/11/28 * * * * payday >>> 2014/11/29 * * * * baby-sister turns 28 >>> >>> "Theodore M Rolle, Jr." writes: >>> >I need to convert a date specification to a hard date. >>> > >>> >Specification: >>> > 2nd & 4th Thu => November 13, 27 >>> > >>> >Intended use is to populate a PHP-generated calendar. >>> > >>> >Remind already does this. I don't want to re-invent a wheel. >>> > >>> >Can remind be used "under the covers?" _______________________________________________ Remind-fans mailing list [email protected] http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans Remind is at http://www.roaringpenguin.com/products/remind
