Is there a way to delay a function so that it doesn't run for a day or two later? I'm somewhat familiar with sleep(), but I really don't think that's what I ought to use.
What I need is a text file to be processed over the weekend/holidays when there is no one in the office, and I thought if I triggered it on Friday I could just set it up to wait a day or so and then run.
I can set an FTP client to upload at a specific time, so I could go that route. If I do, can I just make a script to look into the folder the file is going to and automatically process it?
I'm not sure how I want to start this, so if anyone wants to maybe point me in the right direction I would be grateful.