how to remove attachments throw cron job

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pooja bachhav
    Junior Member
    • Jun 2021
    • 4

    how to remove attachments throw cron job

    i have schedule a cron job as


    - * * * * * cd /var/www/html/sprint0.fincrm.net/crm; /usr/bin/php -f cron.php > /dev/null 2>&1


    & i have change cleanupAttachmentsPeriod from 3 months to 5 minutes in "application/Espo/Jobs/Cleanup.php" file & also change a Clean-up scheduled-jobs "30 * * * *" but attachment is not removed, please check it once & let me know the best answer to a issue ASAP.


    thank you.
Working...