There used to be the file
/proc/acpi/alarm, in which you can write the wake up time. So, the suspend script can write there before going to sleep. It's missing in more recent kernels, replaced by the file
/sys/class/rtc/rtc0/wakealarm
For more information, visit
http://acpi.sourceforge.net/documentation/alarm.html