Import Cron job. Dated file path
-
I have an import cron job using “Import and export users and customers” plugin, that reads data from csv that is uploaded to upload folder. The path it needs to read from:
/var/www/vhosts/sampradayamanjari.org/httpdocs/wp-content/uploads/2023/01/userdata.csv
Note the year/month in the path, it needs to be automatically changed to the current year/month, as we cant keep changing month-on-month. Any solutions to this? Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Import Cron job. Dated file path’ is closed to new replies.