cron job

  1. K

    Cronjob doesn't work in Jail?

    Greetings. I have; SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin 20 12 * * * /root/myscr.sh (Trying to run every day at 12:20 PM - If I made it correctly here) in my "crontab -e" screen, however myscr.sh file doesn't get executed. Any clue on this?
  2. Sergei_Shablovsky

    Shell cron script/utility to make screenshots and periodically emailing

    HI, FreeBSD Gurus ! Please suggest me tool/sys utility/script that : - constantly running in a background under root privilege; - saving local-attached terminal (monitor on server's VGA output, no any GUI used) screenshot to destination folder; - periodically (hourly or daily, or certain day of...
  3. F

    Why people uses cron job while kernel modules exist and why not services?

    1)Cron job: So cron job be able to run a process accordance with certain time intervals or whatever the desired shape is. It can be able to run most of file types or all type of languages probably. 2)Kernel module: Kernel module also runs with kernel on the background. Its main target is making...
  4. 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...
  5. 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...
  6. 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...
  7. 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. :)
  8. 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...
  9. 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...
  10. J

    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...
Back
Top