【问题标题】:TYPO3 Powermail 2.x: Delete upload files from server after the mail was sent.TYPO3 Powermail 2.x:邮件发送后从服务器删除上传文件。
【发布时间】:2016-02-16 08:46:11
【问题描述】:

在 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 删除这些文件的唯一方法吗?

【问题讨论】:

    标签: typo3 powermail


    【解决方案1】:

    您不需要自己的 cronjob。

    进入调度器,添加新任务,选择“Extbase Command Controller Task”。

    打开“CommandController 命令”下拉菜单。在那里你会找到任务“powermail:清理未使用的上传”。

    【讨论】:

    • 我有一个旧的 Powermail 2.0.20 版本。在此版本中,没有调度程序任务。对新 Powermail 版本的更新确实解决了这个问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多