Hi
Please go easy I'm new
As per my subject I would like to perform a task based on today's date and vaules read from a flat file.
eg:
flat text file or csv containing every date of the year, descriptionA, decriptionB, and action.
[B]Date,DescA,DescB,Action[/B]
01/01/2009,open,only once,A
02/01/2009,closed,today,B
03/01/2009,limited,once,C
This flat file would have every day listed, the decription is just a text field and the action could be A,B,C,D or E..
The script would run by a cron at midnight and check today's date, find the correct entry in the flat file and then store it's values.
If 'flatfile' action == A then DO THIS
else if 'flatfile action ==B then DO THAT
ETC..
Is that possible ?? can anyone give me any pointers ??
Thanks