create or replace task ML_RECS_WEB_SONG_FEED_ENGAGEMENT_DAILY_INSERT
	warehouse=SUNO_PROD_ML_DAILY_SMALL
	schedule='USING CRON 0 5 * * * UTC'
	as DECLARE
        p_date VARCHAR;
        row_count NUMBER;
        start_time TIMESTAMP;
    BEGIN
        start_time := CURRENT_TIMESTAMP();
        p_date := DATE(SYSDATE() - INTERVAL '1 DAY');
        CALL ml_recs_web_song_feed_engagement_insert_procedure(:p_date) into row_count;
        call TASK_MONITOR_INSERT_PROC('ML_RECS_WEB_SONG_FEED_ENGAGEMENT_DAILY_INSERT', :start_time, :row_count, 'SUCCESS', 'DAILY');
    END;