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?
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...
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...
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...
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...
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...
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. :)
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.