База знань

Setting a Cron to Run at a Specific Date and Time

In order to correctly set HostGator's servers to perform a desired task in the form of a cron at a specific "local" time, you will need to find the system time of your server and compare that to your "local time." Subtract or add the difference.

You can review the current time of your server through ssh by entering a date into your terminal.

For example:

usr@example [~]# date 
Fri Apr 19 03:18:42 MDT 2013 
usr@example [~]#

You can check the current time, as well as the GMT, at:

  • 3 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?