Skip to content

Commit

Permalink
Issue #45: http://www.time.org no longer exists ..
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Jun 6, 2022
1 parent 19ec231 commit 3dcb9a9
Show file tree
Hide file tree
Showing 9 changed files with 256 additions and 254 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
tasks
scheduleTimeInLondonTask
^ (self taskClass
value: [
| timeInLondon |
"should extract the time from the html; not the most robust parsing algorithmn"
timeInLondon := (HTTPSocket
httpGet: 'http://www.time.org/zones/Europe/London.php')
throughAll: 'Europe/London - ';
upTo: Character space.
'(from http://www.time.org), time in London is: ' , timeInLondon ])
expectedDelay: 600;
addToQueue: self
"http://www.time.org no longer exists use https://time.is if you must ... for now not used"

^ (self taskClass
value: [
| timeInLondon |
"should extract the time from the html; not the most robust parsing algorithmn"
timeInLondon := (HTTPSocket
httpGet: 'http://www.time.org/zones/Europe/London.php')
throughAll: 'Europe/London - ';
upTo: Character space.
'(from http://www.time.org), time in London is: ' , timeInLondon ])
expectedDelay: 600;
addToQueue: self
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scheduleSimpleTask" : "dkh 12/26/2014 14:42",
"scheduleStackOverflow" : "dkh 01/01/2015 12:41",
"scheduleStatusTask" : "dkh 01/03/2015 13:27",
"scheduleTimeInLondonTask" : "dkh 03/29/2021 19:21",
"scheduleTimeInLondonTask" : "dkh 06/06/2022 16:36",
"scheduleWarning" : "dkh 12/26/2014 14:43",
"stackOverflowMethod" : "dkh 12/23/2014 18:50",
"submitAndWaitFor:gemServer:" : "dkh 01/05/2015 18:47",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
private
scheduledTaskList
^ {#'scheduleBreakpointTask'.
#'scheduleErrorTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleHaltTask'.
#'scheduleInternalServerError'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleSimpleTask'.
#'scheduleStackOverflow'.
#'scheduleStatusTask'.
#'scheduleTimeInLondonTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'}
^ {#'scheduleBreakpointTask'.
#'scheduleErrorTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleHaltTask'.
#'scheduleInternalServerError'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleSimpleTask'.
#'scheduleStackOverflow'.
#'scheduleStatusTask'.
#'scheduleSimpleTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'}
Original file line number Diff line number Diff line change
@@ -1,102 +1,102 @@
private
taskList100
^ {#'scheduleOutOfMemoryTemp'.
#'scheduleOutOfMemoryTemp'.
#'scheduleStatusTask'.
#'scheduleTimeInLondonTask'.
#'scheduleTimeInLondonTask'.
#'scheduleFastTask'.
#'scheduleTimeInLondonTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleStatusTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleBreakpointTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleTimeInLondonTask'.
#'scheduleSimpleTask'.
#'scheduleInternalServerError'.
#'scheduleWarning'.
#'scheduleInternalServerError'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleWarning'.
#'scheduleBreakpointTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleErrorTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleInternalServerError'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleTimeInLondonTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleTimeInLondonTask'.
#'scheduleFastTask'.
#'scheduleErrorTask'.
#'scheduleFastTask'.
#'scheduleInternalServerError'.
#'scheduleStackOverflow'.
#'scheduleHaltTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleHaltTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleTimeInLondonTask'.
#'scheduleFastTask'.
#'scheduleBreakpointTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleErrorTask'.
#'scheduleTimeInLondonTask'.
#'scheduleWarning'.
#'scheduleExampleHttpTask'.
#'scheduleBreakpointTask'.
#'scheduleWarning'}
^ {#'scheduleOutOfMemoryTemp'.
#'scheduleOutOfMemoryTemp'.
#'scheduleStatusTask'.
#'scheduleSimpleTask'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleStatusTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleBreakpointTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleSimpleTask'.
#'scheduleSimpleTask'.
#'scheduleInternalServerError'.
#'scheduleWarning'.
#'scheduleInternalServerError'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleWarning'.
#'scheduleBreakpointTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleErrorTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleInternalServerError'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleErrorTask'.
#'scheduleFastTask'.
#'scheduleInternalServerError'.
#'scheduleStackOverflow'.
#'scheduleHaltTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleFastTask'.
#'scheduleStackOverflow'.
#'scheduleHaltTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleSimpleTask'.
#'scheduleFastTask'.
#'scheduleBreakpointTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleOutOfMemoryTemp'.
#'scheduleErrorTask'.
#'scheduleSimpleTask'.
#'scheduleWarning'.
#'scheduleExampleHttpTask'.
#'scheduleBreakpointTask'.
#'scheduleWarning'}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"instance" : {
"gemClientClass" : "dkh 12/30/2014 12:46",
"gemServerClass" : "dkh 12/30/2014 12:46",
"scheduledTaskList" : "dkh 12/30/2014 12:46",
"taskList100" : "dkh 01/02/2015 09:18",
"scheduledTaskList" : "dkh 06/06/2022 16:33",
"taskList100" : "dkh 06/06/2022 16:30",
"testInternalServerError" : "dkh 01/06/2015 13:42" } }
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
private
scheduledTaskList
^ {#'scheduleBreakpointTask'.
#'scheduleErrorTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleHaltTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleSimpleTask'.
#'scheduleStackOverflow'.
#'scheduleStatusTask'.
#'scheduleTimeInLondonTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'}
^ {#'scheduleBreakpointTask'.
#'scheduleErrorTask'.
#'scheduleExampleHttpTask'.
#'scheduleFastTask'.
#'scheduleHaltTask'.
#'scheduleOutOfMemoryPersistent'.
#'scheduleOutOfMemoryTemp'.
#'scheduleSimpleTask'.
#'scheduleStackOverflow'.
#'scheduleStatusTask'.
#'scheduleSimpleTask'.
#'scheduleWarning'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'.
#'scheduleFastTask'}
Loading

0 comments on commit 3dcb9a9

Please sign in to comment.