DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 21st April 2009
wubrgamer's Avatar
wubrgamer wubrgamer is offline
Port Guard
 
Join Date: May 2008
Posts: 34
Thanked 0 Times in 0 Posts
Exclamation Delayed command?

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!
Reply With Quote
 

Tags
bash, linux, script, shell, unix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to modify the ls command? bsdnewbie999 OpenBSD General 9 16th May 2009 08: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 01:06 PM
crypt command whispersGhost Solaris 3 9th June 2008 05:37 AM


All times are GMT. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick