private function heartbeat($time)
    {
        if (time() - $time > 1800) {
            Text::send('filehelper', 'heart beat '.Carbon::now()->toDateTimeString());

            return time();
        }

        return $time;
    }
private function heartbeat($time)
    {
        if (time() - $time > 1800) {
            Text::send('filehelper', 'heart beat '.Carbon::now()->toDateTimeString());

            return time();
        }

        return $time;
    }
private function heartbeat ( $ time ) { if ( time ( ) - $ time > 1800 ) { Text :: send ( 'filehelper' , 'heart beat ' . Carbon :: now ( ) -> toDateTimeString ( ) ) ; return time ( ) ; } return $ time ; }
make a heartbeat every 30 minutes.

@param $time

@return int
make a heartbeat every 30 minutes .