Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

18
Run IO every day, week and month
Post Body

I have three IO’s to be run every day, week and month respectively. Could you propose me some (idiomatic?) solutuon to schedule them? For the first one I use threadDelay with the difference between: number of seconds in the day and number of seconds from midnight.

Comments
[not loaded or deleted]

If someone really wanted to keep it all in Haskell though, looks like there's a(t least one) cron library..

https://hackage.haskell.org/package/cron-0.7.0/docs/System-Cron-Schedule.html

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
417
Link Karma
258
Comment Karma
159
Profile updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago