Hi. I am trying to write a postcard script. The way it works is to generate a .html file in a certain folder. The only function i am unsure of how to do is making this .html file get automatically deleted after xx number of days. Could someone please guide me as to how to do this . I think what i may do is get the date, and then create a folder for all e-cards that are generated that day. Then when a set period of time is up it automatically deletes the folder (i don't know if this would need crontab, but if it doesn't it won't work). I know how to write to the file, but deleting the folder automatically is beyond me!!!
Thanks
Andy
Thanks
Andy