but how to do the same if I go from the following:...
# general
b
but how to do the same if I go from the following:
Copy code
aws.cloudwatch.onSchedule("test", "rate(1 minute)", async (event) => {
    try {
        console.log(`current time: ${Date.now()}`);
    } catch (e) {
        console.log(e);
    }
});