id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_Threading_Schedule/busdriverschedulings_1923_0.txt | [ 621 , "12:30" , "13:41" , 750 , 821 , 71 ], | |
Python_Threading_Schedule/busdriverschedulings_317_0.txt | 349 | |
Python_Threading_Schedule/pythonjobscheduling_84_0.txt | Sidebar
RunMyJobs
Single Pane of Glass Workload Automation for Enterprise IT | |
Python_Threading_Schedule/busdriverschedulings_1083_0.txt | [ 35 , "15:40" , "15:56" , 940 , 956 , 16 ], | |
Python_Threading_Schedule/busdriverschedulings_1482_0.txt | [ 180 , "06:46" , "06:58" , 406 , 418 , 12 ], | |
Python_Threading_Schedule/busdriverschedulings_1911_0.txt | [ 609 , "12:20" , "12:36" , 740 , 756 , 16 ], | |
Python_Threading_Schedule/busdriverschedulings_592_0.txt | 624 | |
Python_Threading_Schedule/busdriverschedulings_1209_0.txt | [ 109 , "13:58" , "14:25" , 838 , 865 , 27 ], | |
Python_Threading_Schedule/busdriverschedulings_1223_0.txt | [ 123 , "15:00" , "15:35" , 900 , 935 , 35 ], | |
Python_Threading_Schedule/busdriverschedulings_1639_0.txt | [ 337 , "08:28" , "08:50" , 508 , 530 , 22 ], | |
Python_Threading_Schedule/busdriverschedulings_349_0.txt | 381 | |
Python_Threading_Schedule/busdriverschedulings_1775_0.txt | [ 473 , "10:20" , "10:30" , 620 , 630 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_572_0.txt | 604 | |
Python_Threading_Schedule/busdriverschedulings_403_0.txt | 435 | |
Python_Threading_Schedule/busdriverschedulings_1107_0.txt | [ 7 , "05:30" , "05:40" , 330 , 340 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_70_0.txt | 102 | |
Python_Threading_Schedule/busdriverschedulings_220_0.txt | 252 | |
Python_Threading_Schedule/busdriverschedulings_1040_0.txt | SAMPLE_SHIFTS_SMALL = [ | |
Python_Threading_Schedule/busdriverschedulings_931_0.txt | 963 | |
Python_Threading_Schedule/busdriverschedulings_1400_0.txt | [ 98 , "05:54" , "07:20" , 354 , 440 , 86 ], | |
Python_Threading_Schedule/busdriverschedulings_426_0.txt | 458 | |
Python_Threading_Schedule/busdriverschedulings_669_0.txt | 701 | |
Python_Threading_Schedule/busdriverschedulings_982_0.txt | \- max driving time per driver <= 9h | |
Python_Threading_Schedule/busdriverschedulings_1256_0.txt | [ 156 , "17:49" , "18:43" , 1069 , 1123 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_1848_0.txt | [ 546 , "11:29" , "12:20" , 689 , 740 , 51 ], | |
Python_Threading_Schedule/Python_threading__2_0.txt | ## Thread Objects ¶
The ` Thread ` class represents an activity that is run in a separate thread
of control. There are two ways to specify the activity: by passing a callable
object to the constructor, or by overriding the ` run() ` method in a
subclass. No other methods (except for the constructor) should be o... | |
Python_Threading_Schedule/busdriverschedulings_659_0.txt | 691 | |
Python_Threading_Schedule/busdriverschedulings_1477_0.txt | [ 175 , "06:43" , "07:30" , 403 , 450 , 47 ], | |
Python_Threading_Schedule/busdriverschedulings_431_0.txt | 463 | |
Python_Threading_Schedule/busdriverschedulings_405_0.txt | 437 | |
Python_Threading_Schedule/pythonjobscheduling_30_0.txt | Even auto-scaling systems such as Kubernetes and Apache Mesos require periodic checks to ensure the status of deployed applications. | |
Python_Threading_Schedule/busdriverschedulings_1786_0.txt | [ 484 , "10:30" , "10:40" , 630 , 640 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1199_0.txt | [ 99 , "13:34" , "14:58" , 814 , 898 , 84 ], | |
Python_Threading_Schedule/busdriverschedulings_316_0.txt | 348 | |
Python_Threading_Schedule/busdriverschedulings_1529_0.txt | [ 227 , "07:13" , "07:38" , 433 , 458 , 25 ], | |
Python_Threading_Schedule/busdriverschedulings_213_0.txt | 245 | |
Python_Threading_Schedule/busdriverschedulings_287_0.txt | 319 | |
Python_Threading_Schedule/1722_148_0.txt | Assignees | |
Python_Threading_Schedule/busdriverschedulings_344_0.txt | 376 | |
Python_Threading_Schedule/busdriverschedulings_127_0.txt | 159 | |
Python_Threading_Schedule/busdriverschedulings_1102_0.txt | [ 2 , "04:52" , "05:56" , 292 , 356 , 64 ], | |
Python_Threading_Schedule/busdriverschedulings_1200_0.txt | [ 100 , "13:38" , "14:25" , 818 , 865 , 47 ], | |
Python_Threading_Schedule/busdriverschedulings_1927_0.txt | [ 625 , "12:33" , "12:48" , 753 , 768 , 15 ], | |
Python_Threading_Schedule/busdriverschedulings_229_0.txt | 261 | |
Python_Threading_Schedule/1722_142_0.txt | All reactions | |
Python_Threading_Schedule/busdriverschedulings_1314_0.txt | [ 12 , "04:37" , "05:18" , 277 , 318 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_865_0.txt | 897 | |
Python_Threading_Schedule/busdriverschedulings_1513_0.txt | [ 211 , "07:05" , "07:52" , 425 , 472 , 47 ], | |
Python_Threading_Schedule/busdriverschedulings_1822_0.txt | [ 520 , "11:04" , "11:15" , 664 , 675 , 11 ], | |
Python_Threading_Schedule/busdriverschedulings_330_0.txt | 362 | |
Python_Threading_Schedule/busdriverschedulings_50_0.txt | # bus_driver_scheduling_sat.py | |
Python_Threading_Schedule/busdriverschedulings_193_0.txt | 225 | |
Python_Threading_Schedule/busdriverschedulings_1631_0.txt | [ 329 , "08:20" , "09:25" , 500 , 565 , 65 ], | |
Python_Threading_Schedule/busdriverschedulings_1492_0.txt | [ 190 , "06:52" , "07:36" , 412 , 456 , 44 ], | |
Python_Threading_Schedule/busdriverschedulings_1643_0.txt | [ 341 , "08:30" , "09:05" , 510 , 545 , 35 ], | |
Python_Threading_Schedule/busdriverschedulings_577_0.txt | 609 | |
Python_Threading_Schedule/1722_72_0.txt | --- | |
Python_Threading_Schedule/busdriverschedulings_375_0.txt | 407 | |
Python_Threading_Schedule/workflowyschedulingi_11_0.txt |  | |
Python_Threading_Schedule/busdriverschedulings_813_0.txt | 845 | |
Python_Threading_Schedule/workflowyschedulingi_10_0.txt | It looks a little like this: | |
Python_Threading_Schedule/Python_schedule__4_0.txt | ## Cancel a job ¶
To remove a job from the scheduler, use the ` schedule.cancel_job(job) `
method
import schedule
def some_task():
print('Hello world')
job = schedule.every().day.at('22:30').do(some_task)
schedule.cancel_job(job)
| |
Python_Threading_Schedule/1722_63_0.txt | [ 
](/alexpoh) | |
Python_Threading_Schedule/busdriverschedulings_1936_0.txt | [ 634 , "12:39" , "13:33" , 759 , 813 , 54 ], | |
Python_Threading_Schedule/1722_61_0.txt | [ v7.5 ](/google/or-tools/milestone/10 "v7.5") | |
Python_Threading_Schedule/busdriverschedulings_1591_0.txt | [ 289 , "07:54" , "09:19" , 474 , 559 , 85 ], | |
Python_Threading_Schedule/busdriverschedulings_1221_0.txt | [ 121 , "14:59" , "15:53" , 899 , 953 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_1426_0.txt | [ 124 , "06:11" , "06:21" , 371 , 381 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1796_0.txt | [ 494 , "10:41" , "11:23" , 641 , 683 , 42 ], | |
Python_Threading_Schedule/busdriverschedulings_198_0.txt | 230 | |
Python_Threading_Schedule/busdriverschedulings_1238_0.txt | [ 138 , "16:34" , "17:15" , 994 , 1035 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_1465_0.txt | [ 163 , "06:37" , "06:54" , 397 , 414 , 17 ], | |
Python_Threading_Schedule/busdriverschedulings_1516_0.txt | [ 214 , "07:06" , "07:51" , 426 , 471 , 45 ], | |
Python_Threading_Schedule/pythonjobscheduling_66_0.txt | # Write the job to the user's crontab
cron.write()
This code creates a new crontab object for the specified user and adds a new cron job running the specified Python script daily at 6 AM. The setall method sets the time interval using the crontab syntax, and the write() method writes the job to the user’s crontab. | |
Python_Threading_Schedule/busdriverschedulings_234_0.txt | 266 | |
Python_Threading_Schedule/busdriverschedulings_424_0.txt | 456 | |
Python_Threading_Schedule/busdriverschedulings_1714_0.txt | [ 412 , "09:23" , "09:49" , 563 , 589 , 26 ], | |
Python_Threading_Schedule/busdriverschedulings_1434_0.txt | [ 132 , "06:16" , "06:28" , 376 , 388 , 12 ], | |
Python_Threading_Schedule/busdriverschedulings_716_0.txt | 748 | |
Python_Threading_Schedule/Python_threading__8_0.txt | ## Timer Objects ¶
This class represents an action that should be run only after a certain amount
of time has passed â a timer. ` Timer ` is a subclass of ` Thread ` and
as such also functions as an example of creating custom threads.
Timers are started, as with threads, by calling their ` Timer.start `
me... | |
Python_Threading_Schedule/busdriverschedulings_1114_0.txt | [ 14 , "06:13" , "06:58" , 373 , 418 , 45 ], | |
Python_Threading_Schedule/pythonjobscheduling_12_0.txt | Workload Automation | |
Python_Threading_Schedule/busdriverschedulings_86_0.txt | 118 | |
Python_Threading_Schedule/1722_4_0.txt | [ Sign in ](/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2For-
tools%2Fissues%2F1722) | |
Python_Threading_Schedule/busdriverschedulings_594_0.txt | 626 | |
Python_Threading_Schedule/busdriverschedulings_1871_0.txt | [ 569 , "11:51" , "12:17" , 711 , 737 , 26 ], | |
Python_Threading_Schedule/busdriverschedulings_1785_0.txt | [ 483 , "10:29" , "11:56" , 629 , 716 , 87 ], | |
Python_Threading_Schedule/busdriverschedulings_799_0.txt | 831 | |
Python_Threading_Schedule/busdriverschedulings_1902_0.txt | [ 600 , "12:14" , "13:44" , 734 , 824 , 90 ], | |
Python_Threading_Schedule/busdriverschedulings_1000_0.txt | "num_search_workers:16,log_search_progress:true,max_time_in_seconds:30" , | |
Python_Threading_Schedule/busdriverschedulings_1243_0.txt | [ 143 , "16:58" , "17:45" , 1018 , 1065 , 47 ], | |
Python_Threading_Schedule/busdriverschedulings_10_0.txt | For | |
Python_Threading_Schedule/busdriverschedulings_837_0.txt | 869 | |
Python_Threading_Schedule/1722_70_0.txt | Driver 1:
total driving time = 281
working time = 512
shift 0 : 05:18 - 06:00
**break**
shift 4 : 06:40 - 07:52
shift 12 : 08:00 - 08:35
shift 16 : 08:40 - 08:50
**break**
shift 18 : 09:23 - 09:49
shift 21 : 10:09 - 11:03
**break**
shift 25 : 12:18 - 13:00
Driver 2:
total driving time = 390
working time = 744
shift 1 :... | |
Python_Threading_Schedule/busdriverschedulings_1501_0.txt | [ 199 , "06:57" , "07:40" , 417 , 460 , 43 ], | |
Python_Threading_Schedule/busdriverschedulings_1575_0.txt | [ 273 , "07:43" , "08:08" , 463 , 488 , 25 ], | |
Python_Threading_Schedule/busdriverschedulings_192_0.txt | 224 | |
Python_Threading_Schedule/busdriverschedulings_1024_0.txt | [ 13 , "11:00" , "11:10" , 660 , 670 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_972_0.txt | # you may not use this file except in compliance with the License. | |
Python_Threading_Schedule/busdriverschedulings_1172_0.txt | [ 72 , "11:16" , "11:28" , 676 , 688 , 12 ], |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.