update conditions

-fetch conditions daily periodic times and weekly periodic times
-save them in seconds format