[Repeatedly I'm getting Notifications]. Actually, I just want to run the PHP script in cron job and i found two alternatives to submit form automatically and to click button automatically.
But these scripts are repeatedly doing it. I need to run only once.
One by using form id:
<script>
    function submitForm() {
        document.getElementById("form").submit();
    }
    window.onload=submitForm;
</script>
Another by using Button id:
<script>
    jQuery(function(){
      jQuery('#submit').click();
      return false;
    });
</script>
Can Anyone Help Me...
 
    