• version 1.33 – to be able to search order numbers, this new version creates a cron job every 5 minutes to run ? does that not seem odd ?

    alg_custom_order_numbers_update_old_custom_order_numbers

    I could search old order numbers prior with this plugins verson 1.2.12 – I am confused as to why all of a sudden, the older order numbers werent searchable and we need a cron job to recurr every 5 minutes ?

    Please advise what is going on

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

    (@tychesoftwares)

    Hi @yatgirl,

    In v1.3.3, the cron job was added to update the new meta key which includes the prefix/suffix as well, which makes the old order searchable through prefix/suffix also.

    The cron job will run every 5 minutes only until old orders are updated with the Custom Order Numbers meta key. Once all old orders are updated, it won’t run.

    Thread Starter yatgirl

    (@yatgirl)

    Thanks – I have a problem now ??
    I had thought something didnt update right. So I deleted the cron scheduled task and rolled back the plugin to 1.2.12. I now understand from your explanation above, and updated this plugin again to 1.3.3 but it seems the database wont update now. There was no box to update the database and there are no scheduled actions pending.

    Sorry, my not understanding what was happening seems to have created a problem. How do I get the database to update now so my orders are searchable ?

    Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @yatgirl,

    If you will reinstall the plugin, the database notice won’t come again. Because some options will be there in the database. So, you will have to delete the below options after deleting the plugin then try to reinstall the plugin. You’ll definitely receive the notice again on the site.

    For update notice, options in Database are:

    alg_custom_order_numbers_no_meta_admin_notice ( delete )
    alg_custom_order_numbers_update_meta_key_in_database ( delete )
    alg_custom_order_number_old_orders_to_update_meta_key = yes ( this option should have value yes in DB)

    Do let me know if you have any further questions.

    Thread Starter yatgirl

    (@yatgirl)

    Hi
    I am not comfortable doing that. Adjusting the database or deleting the plugin. I have over 3000 orders and it would be catastrophic if the numbering ended up not being correct and exactly as it is.

    Unless there is some other way or if you provide a paid support service that can adjust this for me… if not I guess I am going to have to live with it like it is.

    I would like to suggest that with a plugin update that does something like adjusts the database in 5 minute increments until it was completed, it would have been nice for a note somewhere on exactly what was going to transpire – like your explanation above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Database Cron Job every 5 minutes ?’ is closed to new replies.