Oliver | 1 Feb 2010 12:55
Picon

Re: Off topic, kind of

Hello Tildar,

take a look at http://www.taskjuggler.org/

This may fit your needs for the planing tasks you mentioned.

Finally you could convert the output from taskjuggler to a remind script
somehow and include it to your personal reminders.

  Greetings,

  Oliver

Tildar <tildar@...> writes:

> I'm looking for a way to do scheduling for 4-5 employees across
> variable length shifts, one position, 7 days a week.
>
> I need the system to deal with the times employees are NOT available
> for some reason, Holiday, can't work shift x, etc
>
> I also need to cover basic "rules" like, no over 8 hour/day, 40
> hour/week, no more than x days a week, etc.
>
> I really want something similar to reminds flexibility, or a way to do
> this in remind. This MUST run on Linux at the very least.
>
> Anyone have any thoughts or ideas for me?
>

(Continue reading)

Zoong Do Dung PHAM | 4 Feb 2010 11:23

Alternate months

How can I specify even months and odd months?

For example, how can I remind the 2nd Thursday of every even months (Feb, Apr, Jun ..)?

I tried:
REM Thursday 7 Feb Apr Jun  AT 13:30 MSG "even months"
REM Thursday 7 Jan Mar May  AT 13:30 MSG "odd months"

Thanks,
ZP

Tarlika Elisabeth Schmitz | 4 Feb 2010 12:15
Picon

Re: Alternate months

On Thu, 4 Feb 2010 21:23:29 +1100
Zoong Do Dung PHAM <zoong@...> wrote:

>How can I specify even months and odd months?
>
>For example, how can I remind the 2nd Thursday of every even months
>(Feb, Apr, Jun ..)?

REM 7 Thu SATISFY [monnum(trigdate()) % 2 == 0]
IF trigvalid()
    REM [trigdate()] MSG even months %v
ENDIF

Check out the man pages, chapter "THE SATISFY CLAUSE"

--

-- 

Best Regards,
Tarlika Elisabeth Schmitz

Paul A Sand | 4 Feb 2010 12:23
Favicon

Re: Alternate months

* Zoong Do Dung PHAM <zoong@...> [2010-02-04 05:40]:
> How can I specify even months and odd months?
> 
> For example, how can I remind the 2nd Thursday of every even months (Feb, Apr, Jun ..)?
> 
> I tried:
> REM Thursday 7 Feb Apr Jun  AT 13:30 MSG "even months"
> REM Thursday 7 Jan Mar May  AT 13:30 MSG "odd months"

How about:

REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 1] MSG "odd months"
REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 0] MSG "even months"

--

-- 
-- Paul A. Sand                 | Me spell chucker work grate.  
-- University of New Hampshire  | Need grandma chicken.
-- pas@...                  | (yakkoj@...)
-- http://pubpages.unh.edu/~pas | 

Tarlika Elisabeth Schmitz | 4 Feb 2010 13:03
Picon

Re: Alternate months

On Thu, 4 Feb 2010 06:23:31 -0500
Paul A Sand <pas@...> wrote:

>* Zoong Do Dung PHAM <zoong@...> [2010-02-04 05:40]:
>> How can I specify even months and odd months?
>> 
>> For example, how can I remind the 2nd Thursday of every even months
>> (Feb, Apr, Jun ..)?
>
>How about:
>
>REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 1] MSG "odd months"

SATISFY and MSG in one reminder returns a parse error. I believe it's
either MSG or SATISFY, see the man page for syntax:

... <MSG | MSF | RUN | CAL | SATISFY | ...> body

--

-- 

Best Regards,
Tarlika Elisabeth Schmitz

Paul A Sand | 4 Feb 2010 13:33
Favicon

Re: Alternate months

* Tarlika Elisabeth Schmitz <remind@...>
[2010-02-04 07:25]:
> On Thu, 4 Feb 2010 06:23:31 -0500
> Paul A Sand <pas@...> wrote:
> >
> >REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 1] MSG "odd months"
> 
> SATISFY and MSG in one reminder returns a parse error. I believe it's
> either MSG or SATISFY, see the man page for syntax:
> 

Seems to work for me, though. On my man page:

    For versions of Remind starting from 03.00.07, you can include  a  MSG,
    RUN, etc. clause in a SATISFY clause [...]

--

-- 
-- Paul A. Sand                 | I know you believe you understand
-- University of New Hampshire  | what you think I said, but I am
-- pas@...                  | not sure you realize that what
-- http://pubpages.unh.edu/~pas | you heard is not what I meant.

Tarlika Elisabeth Schmitz | 4 Feb 2010 14:18
Picon

Re: Alternate months

On Thu, 4 Feb 2010 07:33:45 -0500
Paul A Sand <pas@...> wrote:

>* Tarlika Elisabeth Schmitz <remind@...> [2010-02-04
>07:25]:
>> On Thu, 4 Feb 2010 06:23:31 -0500
>> Paul A Sand <pas@...> wrote:
>> >
>> >REM Thu 7 AT 13:30 SATISFY [monnum(trigdate())%2 == 1] MSG "odd
>> >months"
>> 
>> SATISFY and MSG in one reminder returns a parse error. I believe it's
>> either MSG or SATISFY, see the man page for syntax:
>> 
>
>Seems to work for me, though. On my man page:
>
>    For versions of Remind starting from 03.00.07, you can include  a
> MSG, RUN, etc. clause in a SATISFY clause [...]

I've got 3.1. What doesn't work is the combination of SATISFY, MSG and
advance warning:
REM Thu 7 SATISFY [monnum(trigdate())%2 == 1] +15 MSG odd

--

-- 

Best Regards,
Tarlika Elisabeth Schmitz

(Continue reading)

Jack Holborn | 7 Feb 2010 05:41
Picon
Gravatar

OMIT only for certain tasks

Just installed remind and I'm loving it. But I came across a little problem:

Now, I've got my normal tasks and stuff, and I have my uni stuff. Problem is that I have certain days, such as lecture recesses, that should only stop uni related stuff from popping up, but not anything else. I tried the PUSH-POP, as shown in the example below, and it works just fine. Except that now my lecture reminders are not omitted on public holidays any more --- which they should of course. So I'm guessing I may have overlooked something. Been reading the man pages up and down and searched online but couldn't find any useful (or at least for me understandable ;-) ) clues.

Any hints would be highly appreciated.

Example:

#UNIVERSITY
PUSH
 OMIT 2010-04-19 MSG Lecture recess
 OMIT 2010-04-20 MSG Lecture recess
 OMIT 2010-04-21 MSG Lecture recess
 OMIT 2010-04-22 MSG Lecture recess
 OMIT 2010-04-23 MSG Lecture recess

 REM 2010-02-22 *7 AT 15:00 DURATION 0:50 UNTIL 2010-05-24 SKIP MSG Lecture 1
 REM 2010-02-22 *7 AT 09:00 DURATION 0:50 UNTIL 2010-05-24 SKIP MSGLecture 2
POP

#PUBLIC HOLIDAYS
 #NEW YEAR
  OMIT 01 Jan MSG New Year's Day
 #EASTER
  SET easter EASTERDATE(YEAR(TODAY()))
  OMIT [TRIGGER(easter-2)] MSG Good Friday
  REM [TRIGGER(easter-1)] MSG Easter Saturday
  REM [TRIGGER(easter)] MSG Easter Sunday
  OMIT [TRIGGER(easter+1)] MSG Easter Monday

etc ......

Thanks in advance

David F. Skoll | 7 Feb 2010 07:19
Favicon

Re: OMIT only for certain tasks

Jack Holborn wrote:

> Now, I've got my normal tasks and stuff, and I have my uni stuff. Problem is
> that I have certain days, such as lecture recesses, that should only stop
> uni related stuff from popping up, but not anything else. I tried the
> PUSH-POP, as shown in the example below, and it works just fine. Except that
> now my lecture reminders are not omitted on public holidays any more ---
> which they should of course.

So put the public holiday OMITs first.

-- David.

Jack Holborn | 7 Feb 2010 07:31
Picon
Gravatar

Fwd: OMIT only for certain tasks

Sometimes things can be so easy :-)

Thanks very much, David. It worked like a charm!

---------- Forwarded message ----------
From: David F. Skoll <dfs <at> roaringpenguin.com>
Date: 7 February 2010 16:19
Subject: Re: [Remind-Fans] OMIT only for certain tasks
To: Users of the <remind-fans-zcKPs3nT90Fg9hUCZPvPmw@public.gmane.org>


Jack Holborn wrote:

> Now, I've got my normal tasks and stuff, and I have my uni stuff. Problem is
> that I have certain days, such as lecture recesses, that should only stop
> uni related stuff from popping up, but not anything else. I tried the
> PUSH-POP, as shown in the example below, and it works just fine. Except that
> now my lecture reminders are not omitted on public holidays any more ---
> which they should of course.

So put the public holiday OMITs first.

-- David.
_______________________________________________
Remind-fans mailing list
Remind-fans-uXxz1QwMXIlPXpAKS7gvjg@public.gmane.orgt.org
http://lists.whatexit.org/mailman/listinfo/remind-fans


Gmane