I'm sorry to be the one to bring up a performance issue, but I happen to have stumbled across one.
I have a silly script that is scheduled to run daily at 23:59. The purpose of this script running is so I can keep an eye on how the Schedule tab is working. As you can see by this code, the script doesn't do much:
1 2 3 4 5 6 |
|
The command line configured on the Schedule tab is:
cookbook/args.py n o t h i n g
So, the issue is that because it doesn't do much, one would pretty much expect the script to finish in near 0 seconds. Take look at the following log entries for the script. It has taken as long as 1420 seconds to complete.
seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-13 23:59:21 -- Completed task, took 3.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-14 23:59:18 -- Completed task, took 3.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-15 23:59:25 -- Completed task, took 4.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-16 23:59:22 -- Completed task, took 3.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-17 23:59:47 -- Completed task, took 2.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-18 23:59:28 -- Completed task, took 6.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-19 23:59:24 -- Completed task, took 3.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-20 23:59:29 -- Completed task, took 4.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-21 23:59:41 -- Completed task, took 7.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-22 23:59:34 -- Completed task, took 4.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-23 23:59:26 -- Completed task, took 4.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-24 23:59:22 -- Completed task, took 4.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-25 23:59:30 -- Completed task, took 7.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-26 23:59:42 -- Completed task, took 10.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-27 23:59:28 -- Completed task, took 7.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-28 23:59:27 -- Completed task, took 6.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-29 23:59:29 -- Completed task, took 8.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-30 23:59:53 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-07-31 23:59:39 -- Completed task, took 10.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-02 00:00:22 -- Completed task, took 20.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-02 23:59:29 -- Completed task, took 8.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-03 23:59:31 -- Completed task, took 8.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-04 23:59:25 -- Completed task, took 7.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-05 23:59:32 -- Completed task, took 10.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-06 23:59:37 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-07 23:59:47 -- Completed task, took 12.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-08 23:59:37 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-09 23:59:43 -- Completed task, took 12.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-10 23:59:49 -- Completed task, took 13.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-11 23:59:41 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-12 23:59:44 -- Completed task, took 12.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-13 23:59:46 -- Completed task, took 15.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-15 00:00:48 -- Completed task, took 31.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-15 23:59:29 -- Completed task, took 7.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-16 23:59:30 -- Completed task, took 8.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-17 23:59:37 -- Completed task, took 9.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-18 23:59:39 -- Completed task, took 9.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-19 23:59:40 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-20 23:59:40 -- Completed task, took 12.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-22 00:01:39 -- Completed task, took 51.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-22 23:59:36 -- Completed task, took 10.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-23 23:59:35 -- Completed task, took 10.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-25 00:23:27 -- Completed task, took 1420.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-25 23:59:34 -- Completed task, took 9.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-26 23:59:49 -- Completed task, took 13.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-27 23:59:41 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-28 23:59:42 -- Completed task, took 11.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-30 00:01:29 -- Completed task, took 112.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-08-31 00:01:54 -- Completed task, took 132.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-09-01 00:00:22 -- Completed task, took 49.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-09-01 23:59:56 -- Completed task, took 16.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-09-03 00:01:23 -- Completed task, took 106.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-09-04 00:00:18 -- Completed task, took 28.00 seconds, return code was 0.
/usr/local/bin/python3.2 /usr/local/bin/python3.2
['cookbook/args.py', 'n', 'o', 't', 'h', 'i', 'n', 'g']
2012-09-05 00:00:27 -- Completed task, took 41.00 seconds, return code was 0.
If I can provide any other useful information, please let me know.