I would like to have a story automatically posted to my site every day at a scheduled time.

I couldn't find a module that has this functionality. Is there one out there that I missed? If not, would I have to write my own module to do it? I've never written a module before, but I am willing to learn how to do if I must. What's a rough outline of the steps the module would have to carry out?

Thanks.

Comments

vm’s picture

you want the scheduler.module

Super G’s picture

I tried out the scheduler.module, and it seems adequate for scheduling that a single node be published at a specified time. But what I would like is for a node to be published every day at a specified time. Is there a way to get the module to do that?

vm’s picture

I don't use it. I just took the time to find it for you. The best place to ask this question is as a feature request within the projects page.

Super G’s picture

I wrote some PHP code that creates the node. (It uses the node_save function.) I saved the code in a file on my webserver, making sure that it wasn't world-readable. Then I set up the server's cron hit the file with the wget command at regular intervals.