Welcome Guest, Not a member yet? Register   Sign In
CRON jobs with go daddy hosting
#1

(This post was last modified: 10-10-2022, 04:22 AM by MariOkudoduma.)

I'm using CodeIgniter as my framework and I want that every minute, alert will appear on my website. (This code are just for testing... My main code for cron have queries.)

This is my controller:

<?php
class alert extends CI_Controller {
    public function __construct() {
        parent::__construct();
        $this->load->view("alert_view.php");
    }
   
    public function index()
    {
        $this->load->view("alert_view.php");
    }

}

?>
And This is my View:

<script>
    alert("SCHEDULED echatspin echatrandom ALERT EVERY MINUTE");
</script>
Reply




Theme © iAndrew 2016 - Forum software by © MyBB