I'd like to (on my dreamhost shared debian server):
run a delayed command, I would like make a file available for download, but only for a short amount of time (say 48 hours) and then after that, remove the file. without having to manually removing the file? (as I have been doing through an FTP client.)
is there a way to do this?
I could put into my crontab "rm /home/USERNAME/SITE/file.ext" for the date and time that I would like to remove it from my server.
But how do I do this?
What would you do?
thanks for your help!
|bash, linux, script, shell, unix|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to modify the ls command?||bsdnewbie999||OpenBSD General||9||16th May 2009 09:20 AM|
|djvu conversion (c44) command||gosha||Programming||5||12th December 2008 03:04 AM|
|avidemux2 command line||roddierod||FreeBSD General||1||10th November 2008 08:27 PM|
|pkg-get command not found||whispersGhost||Solaris||2||11th June 2008 02:06 PM|
|crypt command||whispersGhost||Solaris||3||9th June 2008 06:37 AM|