cron job

  1. I

    cron job not working

    I have set up my cron job as following: 0 0 1 * * certbot renew while as a root user (switched to root using "su -l root") using the "crontab -e" command. I have further confirmed that it does appear in the file "/var/cron/tabs/root". However, the cron command is never fired. Why? And, how...
  2. P

    periodic sendmail question

    I’m really sorry if this is documented somewhere in the handbook or elsewhere, but in my ignorance I can’t seem to find it. I’ve just installed a FreeBSD 11.1-RELEASE VM, and specifically opted not to enable sendmail. In my /var/log/maillog file, I get sendmail related errors at around 3am...
  3. M

    Solved cronjob and locale

    Hello there, I have a python script that does something with the files. In user profile I've set locale to UTF-8, since some filenames/folders use special characters (other language than ENG). When I run script under the user profile, everything is working fine, but when I run it under the...
  4. D

    Other Script for deleting Logs in the log folder

    Hi guys I need all of your help, Iam looking for a script for Cron, which can I use for automising the purifing of the DNS-logs in the log folder of my companies freebsd DNS server. Iam new to Freebsd coming from linux so please have some indulgence with me. :)
  5. Preacher

    Shell 'Garbage' output during script execution (via cron)

    I have this script which checks for updates on my host system and on my jails: #!/usr/local/bin/bash PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin" # Updaten en rapporteren Ports Tree host system: portsnap cron update && { echo -e "Packages te...
  6. daruffneck2

    Solved root or userland for cron job

    May someone can help me out. I want to use a script everytime my machine boots up. Execute before even the splash screen pops up. As I am the single user, I could set it as root in the crontab /etc/crontab following the handbook, so it would act for each other user. If I do so, do I set it as a...
  7. joel.bodenmann

    Solved Cron job not running properly

    I have a user called medusa with password *. I can successfully login to that user using su - medusa and executing a script in that user's home directory. The script creates a zip archive of some files and pushes it via rsync to another location. As I'd like that script to be executed...
Top