Skip to content

0.1.0

Latest
Compare
Choose a tag to compare
@Tiaansu Tiaansu released this 28 Sep 07:50
· 5 commits to main since this release
  • Added custom args support.
new CRON:cron_id = INVALID_CRON_ID;
main()
{
    cron_id = cron_new("* * * * * *", "SecondTimer", "i", 5);
}

forward SecondTimer(num);
public SecondTimer(num)
{
    printf("Hi! I am called by cron id: %i and I also have a custom args: %i!", _:cron_id, num);
}
  • Added a message that let the dev knows that the cron pattern they passed is too short.
    • * * * * * (5) - ❌
    • * * * * * * (6) - ✅

EDIT

  • Fixed a crash when you used gmx while cron jobs is running.