teknashop Posted October 24, 2023 Share Posted October 24, 2023 Hi, would it be possible for an EAN code check script to be run via cron from Plesk or some other way? It should run a check on the EAN13 column of the DB and insert the missing ZERO numbers at the top of the code to 'always' return the digits to 13 numbers. Example: Ean in DB with 8 digits = must insert 5 "zero" numbers (0) at the top Ean in DB with 9 digits = must insert 4 "zero" numbers (0) in header Ean in DB with 10 digits = must enter 3 "zero" (0) numbers in header Ean in DB with 11 digits = must enter 2 "zero" (0) numbers in header Ean in DB with 12 digits = must enter 1 "zero" number (0) in lead Link to comment Share on other sites More sharing options...
Daresh Posted October 24, 2023 Share Posted October 24, 2023 Sure thing, a single PHP script executed via CRON will do the job here. Link to comment Share on other sites More sharing options...
endriu107 Posted October 24, 2023 Share Posted October 24, 2023 You can also create event directly in database and there run query. Link to comment Share on other sites More sharing options...
teknashop Posted October 24, 2023 Author Share Posted October 24, 2023 ok ... solutions ... operational? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now