dope
04/15/2022, 5:59 PMNeedle
04/15/2022, 5:59 PM/title
command!
We have solved your problem?
Click the button below to archive it.garyaustin
04/15/2022, 6:12 PMselect
cron.schedule(
'cron-name', -- name of the cron job
'* * * * *', -- every minute
$$
-- Put your code between two dollar signs so that you can create full statements.
-- Alternatively, you can write you code in a Postgres Function and call it here.
$$
);
Needle
04/15/2022, 6:12 PMdope
04/15/2022, 6:49 PMselect
cron.schedule(
'update-mods',
'* * * * *',
$$
update testtable set kek = 'lppl'
$$
);
dope
04/15/2022, 6:49 PMgaryaustin
04/15/2022, 6:54 PMdope
04/15/2022, 6:58 PMNeedle
04/15/2022, 7:05 PM