Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

a cron; in perl

by belg4mit (Prior)
on Nov 17, 2001 at 05:12 UTC ( #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: Documentation
    by belg4mit (Prior) on Nov 17, 2001 at 05:13 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"

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: perlquestion [id://125966]
    Approved by root
    help
    Chatterbox?
    [virtualsue]: Lotus biscuits
    [Discipulus]: mornign nuns and monks!
    [1nickt]: Woah you can get Krispy Kreme doughnut-Lotus Biscoff hybrids!
    [1nickt]: Biscuit technology has evolved since I left the UK, obviously.
    [virtualsue]: we have a jar of the spread: https://www. sainsburys.co.uk/ webapp/wcs/stores/ servlet/gb/ groceries/lotus- caram-spread- smooth-400g?langId =44&storeId=10151& krypto=VEjeoyIieB6 2oiiKUSbS %2Foxs9BpfJxZ95MW6 y6NOiYDYlKgl6SghbS BZf7CU5b6QA00pmYz7 XmfTYYKpoIiUivBBOR y6MI
    [virtualsue]: yuk url https://www.amazon .co.uk/Lotus- Original- Caramelised-Spread -Smooth/dp/ B002LA793I

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (8)
    As of 2017-11-20 11:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      In order to be able to say "I know Perl", you must have:













      Results (286 votes). Check out past polls.

      Notices?