Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 Quote Deletion Not Occuring

closed-invalid
5
2004-10-28
2004-10-27
Kentaro
No

Having had Kwotes running for a few days now, I've
noticed that it has yet to delete any quotes.
(http://hiddenstrength.net/kwotes/kwotes.pl?)

Looking at the code, it looks like it requires a
cronjob or some such. Glancing at the code, I guessed
that it would call the cleanup function at some point
or require a cleanup action to be made. I tried
selecting it as an action
(http://hiddenstrength.net/kwotes/kwotes.pl?action=cleanup)
but that did little good.

Again, any fixes or suggestions would be greatly
appreciated. Thanks.

Discussion

    • assigned_to: nobody --> briandilley
    • status: open --> open-later
     
  • Logged In: YES
    user_id=829345

    Your right about the cronjob. On kwotes.org we have
    cronjob that runs every hour (or so) and runs the cleanup.
    You can't execute the cleanup via a web browser however. We
    do it at the command line: "perl kwotes.pl cleanup". I can
    give you the cron entry if you are interested. We're
    currently trying to come up with a better way of performing
    cleanup... feel free to share any ideas you may have.

     
    • status: open-later --> closed-invalid
     
  • usrbingeek
    usrbingeek
    2004-11-24

    Logged In: YES
    user_id=576359

    What is the cronjob entry please

     
  • Logged In: YES
    user_id=829345

    0 * * * * /usr/bin/perl /path/to/kwotes.pl cleanup

    of course make sure your perl path is correct, as well as
    the path to kwotes.pl.