如何删除临时文件?
本帖最后由 luofeiyu_cu 于 2014-06-24 07:39 编辑我申请了一个免费空间,这个空间有Cron Jobs Manager
Cron jobs allow you to automate certain commands or scripts on your site.
You can set a script to run at a specific time every day, week, etc. For example,
you could set a cron job to delete temporary files every week
so that your disk space is not being used up by those files.
这个空间给我的地址是/home/ab39485,给我的提示是
php -f /home/ab39485
请问,这个删除全部临时文件的命令如何写?
临时文件目录没个环境都不一样, 如果是 /tmp 那里你就 rm -rf /tmp/*
免费空间你可以关注下国内阿里云 http://www.aliyun.com/product/ace/
页:
[1]