Hello.
It's been a while since I programmed something in PureBasic and I just had the urge to write some PureBasic again :)
So here it is. It's basically something like Cron in Linux but for Windows with some little 'extras'.
I kept the configuration format similar.
No in-programm editor is available and I do not plan to add one.
Just use some text editor like notepad.
https://github.com/user2525536/CronAlert/releases
Feedback is welcome.
CronAlert
Re: CronAlert
I'm familiar with Cron (meaing I used it onc or twice), but I don't think I ever wrote a script for it. There was always an easy configurator.
Could you provide a sample to play around with?
edit: Ok, nevermind, I found the readme (first ignored it, since it had this generic look, no file extentions, there's usually no info about the usage in those, I find).
Anyway I created a document with the following code:
I wasn't sure what to use for the weekday, since it's monday I used 0 and 1 to be sure.
Anyway, upon loading the script, the programm froze. At first you didn't see it, but when you click, it just doesn't responst anymore.
edit2: weird, I compiled the source and the debugger didn't say anything. The programm just froze on me. Perhaps you disabled it by hand somewhere?
Could you provide a sample to play around with?
edit: Ok, nevermind, I found the readme (first ignored it, since it had this generic look, no file extentions, there's usually no info about the usage in those, I find).
Anyway I created a document with the following code:
Code: Select all
59 20 8 8 0 "myName" "!calc"
59 20 8 8 1 "myName" "!calc"
Anyway, upon loading the script, the programm froze. At first you didn't see it, but when you click, it just doesn't responst anymore.
edit2: weird, I compiled the source and the debugger didn't say anything. The programm just froze on me. Perhaps you disabled it by hand somewhere?
Re: CronAlert
Thank you for trying it out. There was a bug when dealing with invalid triggers (like Sunday on August 8th).
I fixed this.
https://github.com/user2525536/CronAler ... /1.1.3.zip
I hope it works for you now.
I fixed this.
https://github.com/user2525536/CronAler ... /1.1.3.zip
I hope it works for you now.
Re: CronAlert
Ah thanks. Yeah, on the invalid line, the ETA is blank. That's one wa of knowing your script is messed up
Seems to work now. Apparently the preTrigger is active (calculater opened 2seconds before the timeout). I'm not quite sure what it's used for, but you provided the info to shut it off.
I'm gonna play around with it some more.
Thanks for sharing (and for quickly fixing the issue )
Seems to work now. Apparently the preTrigger is active (calculater opened 2seconds before the timeout). I'm not quite sure what it's used for, but you provided the info to shut it off.
I'm gonna play around with it some more.
Thanks for sharing (and for quickly fixing the issue )
Re: CronAlert
I was actually hoping for more feedback
If anyone tried out CronAlert, please share your opinion.
PS: I have updated the link in the initial post to point to the repository instead of the first release.
If anyone tried out CronAlert, please share your opinion.
PS: I have updated the link in the initial post to point to the repository instead of the first release.