• Resolved guardiano78

    (@guardiano78)


    Hello,
    to import products into woocommerce, I use manual scheduling.
    I have seen that CRON can also be used for scheduling.
    Can you tell me if instead it is possible to use manual scheduling to make the call in SSH in order to exceed the server execution time limit?

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @guardiano78

    Can you tell me if instead it is possible to use manual scheduling to make the call in SSH in order to exceed the server execution time limit?

    Do you mean that you want to use the PHP CLI to run the cron import scripts? If so, it’s possible with this syntax:

    php /path/to/yourwordpressinstall/wp-load.php import_key=ABC123 import_id=5 action=trigger
    php /path/to/yourwordpressinstall/wp-load.php import_key=ABC123 import_id=5 action=processing

    Please note that you may have to specify the path to php:

    /usr/local/php71/bin/php /home/yourusername/public_html/wp-load.php import_key=A1B23C import_id=3 action=trigger
    /usr/local/php71/bin/php /home/yourusername/public_html/wp-load.php import_key=A1B23C import_id=3 action=processing
    Plugin Author WP All Import

    (@wpallimport)

    Hi @guardiano78,

    I’m marking this as resolved since it’s been a while. Feel free to follow up here if you still have questions.

    Anyone else, please start a new topic.

    Thread Starter guardiano78

    (@guardiano78)

    Hello,
    unfortunately these days I have not had the opportunity to try your suggestions.
    I will try in the next few days, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manual Scheduling SSH’ is closed to new replies.