Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

a cron; in perl

by belg4mit (Prior)
on Nov 17, 2001 at 05:12 UTC ( [id://125966]=perlquestion: print w/replies, xml ) Need Help??

belg4mit has asked for the wisdom of the Perl Monks concerning the following question:

See the first reply to this node for the documentation, see the second reply for the source.

Offsite copies are also available here: source documentation. The latest version ought to live here.

What I seek with this post:

  • Peer review of the code
    (I am aware of the general distate for capitalized vars; I've gotten better, look at 0.81 or ask wog)
  • Opinions on other features etc. (especially things listed in TODO.pod)
  • Need a name and good way of describing -S (currently CRONSOGGY); -S prevents the use of open(FH, "-|") which is believed to have an implict fork and is therefore not 100% cross-platform.

    I'd like to know if you have a platform that supports this but not fork.

  • Confirmations of functionality on various platforms.
    With minimal switches required to work; in order of increasing desperation: -s, -X, -s -S, -X -S.

    It is known to work on Linux with 5.005_03 and Activestate 628 on Windows 98.

    For bug reports please send the output and switches of however you were tying to run it as well as that from: -s -S -U -X -x 15 -L - (+ any other switches you may be using - whatever might conflict with what you're doing (-U if you're root?))

  • MacPerl people *cough* ChemBoy *cough*:
    You can set your switches via {startup volume}/etc/default/cron.
  • -- perl -p -e "s/(?:\w);(<A HREF="/index.pl?node=st&lastnode_id=479">st</ +A>)/'\$1/mg"

    Replies are listed 'Best First'.
    a cron; in perl: Source
    by belg4mit (Prior) on Nov 17, 2001 at 05:14 UTC
    a cron; in perl: But Why?!
    by belg4mit (Prior) on Nov 17, 2001 at 05:27 UTC
      I forgot to answer that in the root node
    • For fun
    • I need/can use it for something I'm doing (especially -O)
    • I hope to see it in Perl Power Tools someday.
    • I was unaware of Schedule::Cron/Schedule::Cron and Set::Crontab/Set::Crontab for the first half of the development. In addition I attempted not to use any non-standard modules. I may consult these in the future, Set::Crontab looks promising for crontab(1).

      -- perl -p -e "s/(?:\w);(<A HREF="/index.pl?node=st&lastnode_id=3333">st< +/A>)/'\$1/mg"
    a cron; in perl: Documentation
    by belg4mit (Prior) on Nov 17, 2001 at 05:13 UTC

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: perlquestion [id://125966]
    Approved by root
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others romping around the Monastery: (3)
    As of 2025-06-23 12:56 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.