Ping for 60 seconds

From man ping

   -w deadline
          Specify  a  timeout, in seconds, before ping exits regardless of
          how many packets have been sent or received. In this  case  ping
          does  not  stop after count packet are sent, it waits either for
          deadline expire or until count probes are answered or  for  some
          error notification from network.

ex.

$ time ping -w60 192.168.1.65 &>/dev/null

real    1m0.001s
user    0m0.008s
sys     0m0.000s

The timeout command can be used also here. which is from Coreutils package in Linux. The command would be:

timeout 60 ping google.com

that's it.

Note: here you can run any command with a time limit for execution.