JuniorNogueira Posted September 2, 2018 Posted September 2, 2018 This code works fine for running lisp at a given time. However, if the computer's schedule changes, it will still work, how can I fix it? (defun C:Temp (/ ha) (setq ha (rtos (getvar "cdate") 2 6)) (if (>= (atof ha) 20180901.091000);Set time (alert "\nYour time is over!") (command "_.Line");Subrotina ) ) Quote
BIGAL Posted September 3, 2018 Posted September 3, 2018 Are you trying to set a check time and if invalid stop working ? This is a common security questions and has been answered a few times here. One way around is to get International time via the internet. have a look at www.lee-mac.com. 1 Quote
JuniorNogueira Posted September 3, 2018 Author Posted September 3, 2018 @BIGAL I do not understand, do you have an example? Quote
BIGAL Posted September 4, 2018 Posted September 4, 2018 This is internet time by lee-mac independent of the computer time. internet time.lsp 1 Quote
JuniorNogueira Posted September 4, 2018 Author Posted September 4, 2018 @BIGALThank you, perfect !! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.