cron

  1. M

    Error? _secure_path: /nonexistent/.login_conf is not owned by uid

    Hi, I upgraded from FreeNAS-11.1-U4 to FreeNAS-11.2-U2 and I noticed that /var/log/messages shows the following lines: Feb 22 00:24:00 freenas cron[66769]: _secure_path: /nonexistent/.login_conf is not owned by uid 1000 Is this an issue/expected behaviour? Do I need to correct this somehow...
  2. C

    SOLVED Crontab: errors in crontab file, can't install

    Hi there, After last night's shenanigans with VNET failing, I continued on with setting up my Nextcloud server. All was working fine, created an ncadmin account and connected it to my database, but now I've ran into an error with Cron(tab). Upon attempting to configure cron for the www user...
  3. L

    Cron does not output results when run on schedule despite settings.

    I have a cron running in Tasks > Cron Jobs. If from the GUI, i click the job and click "run now", it runs perfectly and outputs results to terminal and the system also sends text to another syslog server. "Redirect Stdout" and "Redirect Stderr" is not checked because they both say that checking...
  4. D

    Backup help

    I am running FreeNAS 11 and am having trouble configuring a cron job rsync back up of an entire Volume (/mnt/NAS1) to a folder on another volume (/mnt/NAS2/BackUp). Originally the script was only backing up a folder on NAS1 but now i wish to mirror the entire volume on a schedule. Here is the...
  5. indivision

    Cron not working

    I am trying to set up a cron task that restarts a jail service every 6 hours. Here is the command: jexec <jail_name> service <service_name> restart When I run this code in the shell as root or click "Run Now" in the View Cron Jobs section, it works. However, it doesn't appear to run properly...
  6. pixel8383

    Cron an rclone task configured inside jail

    Hello, I am trying to setup my .sh file in order to use the FreeNAS cron-managment GUI. I want to execute an rclone task inside a jail and save the stOut buffer to a variable that I will mail when the task is terminated. Actually my code is the following: #!/bin/sh...
  7. D

    Script Help: Cron Task does not execute at specified time or on "Run Now"

    Freenas 11.1 I setup a cron task in the GUI, and have tried running it, but it does not seem to run. I've set it up as the root user, and put the full path to the shell script it's supposed to run. I'm trying to test to see if this works by using the "Run Now" button. The command...
  8. felthamn

    How do you go about setting up a cron job in a FreeNAS jail

    Good morning folks, I'm hoping someone may be able to assist me with what to most of you may be a relatively simple task. I'm only just getting into the more technical aspect of freenas so please be patient. Anyways I'm rambling.... I have just setup a jail to run a Wordpress on and even...
  9. Z

    Cron Job Creating Odd File

    Hi all! So I've been trying to create a cron job to output CPU temperature and a timestamp to a text file for logging. I have the following script written, and the commands work as expected when run in the shell separately, but when run in the cron job, the output for DATE goes into a file...
  10. sthames42

    Cron "Run Now" option generates a seg fault.

    Pressing "Run Now" button on a cron job fails and all I'm getting in /var/log/messages is this: Jul 20 14:23:13 backup1 kernel: pid 39270 (python3.6), uid 0: exited on signal 6 (core dumped) This is not the script I want to run but this is what I am testing with: #!/bin/sh Turns out the job is...
  11. J

    SOLVED Cron Job script will not run

    Hi, I have a script that is designed to pull a couple of spreadsheets via a curl request. I've tested the script multiple times and works perfectly within the shell, however when I try to set it up as a cron job, not only does the script not run at the specified time, it doesn't run at all even...
  12. O

    Error when cron started the last scrub, what's going on?

    I got this via email from my freenas and have no clue what it means. The scrub got started and is running though. Subject: Cron <root@freenas> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/local/libexec/nas/scrub -t 35 tank Message: Exception in thread...
  13. ZodiacUHD

    How to crontab

    Hello guys, i really looked the whole forum and google, maybe i'm just too dumb and if that's the case, i apologize. I wanted to add crontabs, specifically as shown in this guide: https://forums.freenas.org/index.php?threads/how-to-nextcloud-10-w-apache-php-and-mariadb.46111/ Let's take the...
  14. M

    Results of Rsync Task via email

    I have couple of questions regarding rsync tasks. I have an rsync task running nightly. Question 1. If the rsync task takes longer than 2 days. Will I have 2 tasks running concurrently the next day? or is there a lock mechanism? Quesiont 2. How would I go about sending me report of the...
Top