• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

cron job question

mrlayance

Senior member
I have the following .sh file running every hour

#
rm /home/website/mail/thebase.com/lance/spam

I have ran a few different tests with folders and files with extension, I just can't get this cron job to remove a file without a extension.
 
don't you need rm -r to remove the spam directory

OR

rm /home/website/mail/thebase.com/lance/spam/*

to remove all the files in directory spam
 
Back
Top