Thanks to all and dear Dave Angel, I got this working :) , using
your valuable inputs .
Here is the final program:
Throttling-1# cat sleep_schedule_file.py
#!/usr/bin/python
import time
import pdb
from datetime import date, time, datetime, timedelta
#'''run these on the remote commmand '''
n
On Mon, Jan 12, 2015 at 8:42 AM, Ganesh Pal wrote:
> On Sun, Jan 11, 2015 at 7:57 PM, Dave Angel wrote:
>>>
>>>
>> No idea how that represents "a difference of 5 minutes". So I'll take a
>> totally wild guess that you meant:
>>
>> Sunday 23:50 23:55
>> Monday 00:00 00:05
>> Monday 00:10 00:15
>
On Sun, Jan 11, 2015 at 7:57 PM, Dave Angel wrote:
>>
>>
> No idea how that represents "a difference of 5 minutes". So I'll take a
> totally wild guess that you meant:
>
> Sunday 23:50 23:55
> Monday 00:00 00:05
> Monday 00:10 00:15
> Monday 00:20 00:25
> Monday 00:30 00:35
>
> which would have
On Sun, 11 Jan 2015 17:14:35 +0530, Ganesh Pal wrote:
> (a) How do I modify the output to have an another column with a
> difference of 5 mins
I'm not sure I understand the problem you're trying to solve, and it
seems to me that you are presenting your problem in terms of your partial
solution
On 01/11/2015 06:47 AM, Ganesh Pal wrote:
Hello Team,
Iam trying to generate a file which should have the contents in the
below format
# cat /root/schedule.conf
Sunday 10:20 10:30
Sunday 10:30 10:40
Sunday 10:50 10:60
I have to build the above format on the local linux machine using
pytho