I work on a website who is using cron jobs for import and update products. The platform is Woocommerce.
The supplier offered the csv file, and a server requirements. I have them over the requested: 32GB RAM, 16vCore, 400GB space.
The issue is that the job is working just few minutes/hour...between 3 and 10 minutes, even he have alot of pending jobs. I mean, for example, at from 09:00 to 09:10, the job is working, then is stopping, and he start again at 10:08 and is working until 10:15. Then from 11:10 to 11:20. I don't understand why. This is the cron job settings:
Minute Hour Day Month Weekday
* * * * * /usr/bin/flock -n /tmp/wc_process_import_itakeit.ro.lockfile /usr/bin/curl https://itakeit.ro/wcmipconnector/readfiles >> /home/itakeit/public_html/wp-content/uploads/mip-connector/logs/process_import_cron.log
I don't know what to put/change...in order to finish all pending processes.
I have another cron job who is working perfectly, and this is the syntax from another supplier:
Minute Hour Day Month Weekday
*/5 * * * * wget -q -O – https://itakeit.ro/wp-content/plugins/wisexml-connect/heartbeat.php >/dev/null 2>&1
I don't have any experience on this. Can somebody help me?
Thank you,
Alin
PS: on the first cron job (I see that my post don't have the entire message):
Minute Hour Day Month Weekday (there are * * * * *)
Thanks!