• Resolved gspkposters

    (@gspkposters)


    I am trying to setup a cron job that imports users every few hours once from a csv file. I placed the csv file under plugins/import-users-from-csv-with-meta/classes/test.csv folder, and put the path in the plugin “Recurring Import” tab as /var/www/vhosts/sampradayamanjari.org/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/classes/test.csv

    Everytime I run the cron job by clikcing “Execute Cron Task now”, it says:

    Import cron task starts at 2023-01-17 17:51:25

    Error, we cannot find the file:

    Reload or try a new import here
    –Finished at 2023-01-17 17:51:25

    I know the file is there, but why is the plugin throwign this error?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @gspkposters,

    Two things. The first is that it is not recommended that you alter any files or directories in the plugin or when we upgrade you will lose it.

    The second thing is that if the plugin gives that error it is because it can’t read the file. Maybe it doesn’t have permission. Check the permissions and make sure of the path.

    Thread Starter gspkposters

    (@gspkposters)

    Thanks!

    Can the file be read from an external source, like a shared drive?

    Plugin Author Javier Carazo

    (@carazo)

    @gspkposters,

    I think you are confused. The removable drive would be in your computer. The file should be visible in a path on the server where you run WordPress.

    Thread Starter gspkposters

    (@gspkposters)

    Oh yeah, got it now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import Cron Job error: Error, we cannot find the file: Reload or try a new imp’ is closed to new replies.