in reply to Crontab replacement in Perl

@Corion and @Disciplus,

Thank you!! Do these utilities run independent of crontab or they are wrappers around it? I did quickly browse through the documentation but couldn't be sure hence the question.

Replies are listed 'Best First'.
Re^2: Crontab replacement in Perl
by Discipulus (Canon) on Feb 07, 2022 at 08:42 UTC
    > I did quickly browse through the documentation but couldn't be sure hence the question...

    the reading of documentation is left happily to you :) but..

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re^2: Crontab replacement in Perl
by Anonymous Monk on Feb 09, 2022 at 13:06 UTC

    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.