Hi all. My webhost is BlueHost and I have Spam Assassin enabled. Currently I have to go in daily or so and empty out my spam box. Is it possible to make a cron job to empty out the folder every 24 hours for me? If so, can you give me an intro to where I can learn about them?
Cron jobs will let you run any task or program at a scheduled interval, if you work out the command to empty your spam box a cron job should solve your problem fine. The syntax is detailed in this wikipedia article, and there are links at the bottom to other sites and even a windows implementation: http://en.wikipedia.org/wiki/Crontab
is very simple first you write a crontab file, say filename.txt and the content of the file is like 20 01 * * 1 YOUR_COMMAND then you issue the command crontab filename.txt YOUR_COMMAND will run at 01:20AM every Monday the syntax of the crontab file is like # MINUTE(0-59) HOUR(0-23) Date(1-31) Month(1-12) Day_of_Week(0-6, SUN=0) Command