My requirement: I need to get data from database and submit the values on some other website form after each 2 min .
I am planning to do this by creating as similar form and populating values from db
then submit it using document.getElementById("webform-form").submit();
It works fine if I manually run the url
but it doesn't work when I submit it using cron job.
Cronjob is ignoring this state of form submission. I want to know whether it is possible to do it using cronjob and form submission. If not, please suggest me how should I proceed.
Thanks in advance