Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Importing users stuck at 0%
  • Vote Up0Vote Down bplumbbplumb
    Posts: 4Sendy user

    Hi again,

    Still struggling to import users. I have saved users to a CSV file as suggested, but when the screen refreshes, it just spins at Active (0%). Am I missing something here?

  • 8 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,360Sendy support

    Hi,

    I have saved users to a CSV file as suggested, but when the screen refreshes, it just spins at Active (0%). Am I missing something here?

    If you previously setup a cron job for CSV import, your cron job is not working. Please check if it's setup correctly by checking with your hosting support.

    Best regards,
    Ben

  • Vote Up0Vote Down bplumbbplumb
    Posts: 4Sendy user

    Hi Ben,

    I have had our server people check the cronjobs - they say everything is running smoothly, but for whatever reason it doesn't work...

    After further investigations by the second line team they can see that the log is executing something. As this is a custom cron, this needs to be looked at as it is not supported by us.

     Nov 11 15:11:01 ds8290 CROND[1078]: (beeseenweb) CMD (/usr/bin/php/var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/autoresponders.php > /dev/null 2>&1)
     Nov 11 15:11:01 ds8290 CROND[1081]: (beeseenweb) CMD (/usr/bin/php/var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/import-csv.php > /dev/null 2>&1)
     Nov 11 15:11:01 ds8290 CROND[1082]: (beeseenweb) CMD (/usr/bin/php -f /var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/import-csv.php > /dev/null 2>&1)
    
  • Vote Up0Vote Down BenBen
    Posts: 3,360Sendy support

    Try visiting http://your_sendy_installation_url/reset-cron.php to reset cron job statuses in your database. Then go to the 'Add subscribers' page. Refresh the page after 1 minute and see if the cron job setup instructions in a blue box is no longer there.

  • Vote Up0Vote Down bplumbbplumb
    Posts: 4Sendy user

    Hi Ben,

    Followed your instructions but the blue box is back and staying :(

    I don't quite understand, I have followed the Cron Job setup guides, My server team say it is running, but it doesn't seem to be working. :(

  • Vote Up0Vote Down BenBen
    Posts: 3,360Sendy support

    Then it's the cron job that's not working.

    Alternatively, try changing your cron job command to:

    curl -L -s http://your_sendy_installation_url/import-csv.php > /dev/null 2>&1

    Change 'http://your_sendy_installation_url' to your Sendy URL.

    Best regards,
    Ben

  • Vote Up0Vote Down bplumbbplumb
    Posts: 4Sendy user

    Hi again,

    This looks to have fixed it. Will the same code (Curl -L) work for the other 2 required cronjobs?

    Will update as soon as I know for sure.

    Many thanks again Ben,

    B

  • Vote Up0Vote Down BenBen
    Posts: 3,360Sendy support

    Will the same code (Curl -L) work for the other 2 required cronjobs?

    Yes.

    Best regards,
    Ben

  • Vote Up0Vote Down bplumbbplumb
    Posts: 4Sendy user

    This looks to have resolved the issue. Thanks for the support Ben, finally can use the system! :)

This discussion has been closed.
All Discussions