Timed Scripts

Hi all

I need a little bit of help, i am looking for a script that can have different events in it and then if it is a certain day email me about it

some sort of email reminder system

any ideas

thanks

If you are looking for a repeated reminder, check out cron/crontab:

If you are looking for a one-time reminder, check out the command at.
To send a mail, just use the mail command.

If you get stuck at a particular point, don't hesitate to ask.

You can set cronjob for that script. And the output of that script you can direct to some file (say temp.txt) and then you can send that file via mail command to as many users as you want.
Mail command syntax is
uuencode [dir/filename] [filename] | mailx -s �subject� mail@address.com
or cat temp.txt | mailx -s "Subject_Name" dhruvak_chokshi@persistent.com abc@xyz.com

Using cronjobs was what i was going to do but thay only allows for montly things, what about if i want to have a reminder for say 11 of October ?

As already stated, use at instead then.

Example:

$> at 11 Oct 2010
warning: commands will be executed using /bin/sh
at> echo yo
at> <EOT>
job 7 at Mon Oct 11 09:30:00 2010
$> atq
7       Mon Oct 11 09:30:00 2010 a root

At this date, the echo will be fired off and disappear from the at queue.
For using a whole script, use the -f option to hand over a file.