In order to run a task triggered by a timestamp, there must be some daemon running in the background of the server to start the task. The standard Unix daemons for this are crond and atd. Typically, both give ordinary users the ability to add things to the schedule. (the crontab command and the at command) If this has been disabled by the sysadmin, your remaining options are to run a daemon of your own detached from the terminal, or to schedule something on a different server that uses ssh with a authorized key to log in and run the task.

The perl modules mentioned above let you write a script which could either be a daemon on the server, or a daemon or foreground process somewhere else that calls ssh to the server. You could also take these approaches without using perl by running your own copy of crond.

The recommendation to ask the sysadmin why they disallowed access to Cron and whether they are ok with users running daemons on the server still applies.


In reply to Re^2: Crontab replacement in Perl by Anonymous Monk
in thread Crontab replacement in Perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.