Create valimport { cronEvalLogger as logger } from "https://esm.town/v/nbbaier/cronLogger"; const run = async (interval: Interval) => { console.log("your code goes here"); }; export default logger(run);
https://esm.town/v/nbbaier/cronLogger
<script type="module" src="https://esm.town/v/nbbaier/cronLogger"></script>