|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
I want to create a cron job to delete all the files in a particular directory. Could someone let me know if the following is correct? File names are not consistent, so I need to delete any and all files found. My understanding, unless I've missed something is that this would run every Sunday at 11:59 PM, and delete all the files in the given directory:
#Cron job to delete contents of directory 59 23 * * 7 rm /path/to/directory/* Thanks in advance. Kathryn
__________________
Free E-book & Instructions in Using EFT & NLP for Weight Loss OneMoreBite-Weightloss.com |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |