I would like to set a cron job that detects if thirty days have passed; then fires off another script that causes the system to shutdown every hour.

This sounds simple enough yet I'm not sure of the best way to go about it.

Anyone know how I would do this?