On Windows, you can use the scheduler (on XP is under Control Panel/Scheduled Tasks).
Put //! in the first line of your script so that is runs automatically.
Put exit(no save) or something like that at the end, so that JMP closes when the script is done.
May i ask how to use Windows scheduler? i know it's not a JMP question, but any guidance will be appreciated. Many thanks!