Skip to content

[Optional]support cron task #13

Description

@halfcrazy

Syntax may looks like this:

@cron((Seconds,Minutes,Hours,DayofMonth,Month,DayofWeek))
def fn():
    pass

or unix like syntax like this:

@cron('* * * * *')
def fn():
    pass

In the cron decorated function, use slacker to send messages.
So, the bot can send daily reports.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions