Cron - how to..



  • How to start perl script?

    i create with crontab next job's (/usr/cron/tabs/root)

    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/tmp/crontab.HR1ONb88I1 installed on Fri Mar 23 16:26:05 2007)
    # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.22 2004/09/14 19:01:19 dds Exp $)
    
    */55	*	*	*	* root	  /usr/local/www/lightsquid/lightparser.pl > /var/tmp/lightsquid.cron.log
    */1	*	*	*	* root   /var/tmp echo test > /var/tmp/echo.test
    

    but nothing :(
    with command shell this all worked



  • You can add cron items directly to the config.xml with the latest snapshots. To see the syntax just open a config.xml of a recent snapshot and have a look at the very bottom.


Log in to reply