By Super G on
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
you want the
you want the scheduler.module
thanks for the tip
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?
I don't use it. I just took
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.
This is how I did it
I wrote some PHP code that creates the node. (It uses the
node_savefunction.) 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 thewgetcommand at regular intervals.