1. In command line execute following commands:

    
                echo 'curl -s {{ heartbeat_url }} > /dev/null' > heartbeat_script.sh
                chmod +x heartbeat_script.sh
                crontab -e
            
  2. Add this line to crontab:
    
                * * * * * /path/to/your/heartbeat_script.sh