如何在JavaScript中以某个时间间隔隐式执行函数,如JavaScript中的setTimeout()函数?

I've following JavaScript code :

setTimeout('$.ajaxCall("notification.update", "", "GET");', 1000);

Now I want to execute the following function statement at a fix time interval of 1000 like above javascript code.

$notifications = Phpfox::massCallback('getGlobalNotifications');

The statement Phpfox::massCallback('getGlobalNotifications'); should get call at fix time interval of 1000 and the returned result should be updated in $notifications table.

If you have any doubt regarding the issue I'm facing please do let me know.

Thanks in advance.

How should I do this in an reliable, efficient and optimum way in PHP?

There is Linux operating system running on a server.

function settitle() 
{
    $("#notifyno").load('notifytitle.php'); // your page link goes here

    setTimeout("settitle()", 60000);
}