Doesn at command works?
-
Hi I have been trying to work with the at command, but won't see to execute the task, I just see the queue but is all.
at now
/root/scripts/at.sh
Job 11 will be executed using /bin/shList:
at -l
Date Owner Queue Job#
Mon Dec 3 12:48:00 PST 2012 root c 1
Mon Dec 3 12:17:00 PST 2012 root c 2
Sat Mar 24 14:56:00 PST 2012 root c 11If I want to delete a job:
at -r 1
at: c0000101587c00: Permission deniedJobs dir:
/var/at/jobs(125): ls -l
total 40
-rw-r–r-- 1 root wheel 6 Mar 24 14:56 .SEQ
-rw------- 1 root wheel 0 Mar 24 12:15 .lockfile
-rwx------ 1 root wheel 910 Mar 24 12:15 c0000101587c00
-rwx------ 1 root wheel 910 Mar 24 12:15 c0000201587be1
-r-------- 1 root wheel 910 Mar 24 12:16 c000030152e721
---------x 1 root wheel 0 Mar 24 12:18 c000040152e723
-r-------- 1 root wheel 901 Mar 24 12:20 c000050152e74c
-r-------- 1 root wheel 901 Mar 24 12:21 c000060152e72c
-r-------- 1 root wheel 901 Mar 24 12:22 c000070152e728
-r-------- 1 root wheel 901 Mar 24 14:34 c000080152e7aa
---------x 1 root wheel 0 Mar 24 14:48 c000090152e7b8
-r-------- 1 root wheel 877 Mar 24 14:49 c0000a0152e7b9
-rwx------ 1 root wheel 885 Mar 24 14:56 c0000b0152e7c0Does this command works?
I want to run a job only once every time my pfsense machine start.
Have other way to do it?
Pfsense 2.0.1 nanobsd.
Thanks.
-
I've never seen anyone trying to use at on pfSense, I don't think it's meant to work.
To run something at bootup, look at the shellcmd package. It lets you setup commands to run at boot time.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy