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

Cron - how to..

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 2.1k Views
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 Mar 23, 2007, 2:20 PM

    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 Mar 23, 2007, 7:07 PM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received