Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Cron - how to..

    General pfSense Questions
    2
    2
    1891
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dvserg last edited by

      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

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post