Using Dataiku
Sort by:
71 - 80 of
93
71 - 80 of
938
Hi @pkansal
,
I think your import datetime is not working
Can you try :
from dataiku.scenario import Trigger from datetime import datetime import pytz tz = pytz.timezone('Europe/Amsterdam') t = Trigger() now = datetime.now(tz = tz) dayofweek =now.isoweekday() hour = now.hour if dayofweek in [1,2,3,4,5] and (hour >= 7 and hour <=23): t.fire()
This website uses cookies. By clicking OK, you consent to the use of cookies. Read our cookie policy.
AcceptReject