在Powermail 1.x中,我可以在Powermail常量中设置此功能:
# cat=powermail uploads/enable/0530; type=boolean; label= Delete after attach: If checked, all uploaded files will be deleted from the server after the mail was sent
upload.delete = 0
是否不再可以从服务器上删除上传的文件?是用cronjob删除这些文件的唯一方法吗?
答案 0 :(得分:2)
你不需要自己的cronjob。
转到调度程序,添加新任务,选择" Extbase Command Controller Task"。
打开" CommandController命令"落下。你会在那里找到任务" powermail:Clean Unused Uploads"。