Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I am trying to submit a batch job to apache from perl cgi and R website . So work can be done when the server load is less. The batch job does gets submitted.
atq command shows the job in queue. But when the server load gets down then also it does not to the required processing. And the job is removed from the Q
The batch command is as follow
/usr/bin/R --slave < /var/www/cgi-bin/sigpathway/main.R > /var/www/html/sigpathway/output/tmp/sig2065512059358370/output.txt 2>&1 --args sig2065512059358370 wait = FALSE
Please suggest something
I'd suggest pondering these questions:
- Is /etc/at.deny|allow used?
- What loadavg is atd started with?
- Is atd started with "-d" or are there at messages in syslog?
- What user ID submits the job to the queue and what user should the job really run as?
- Does any user have "at" job mails in its mail spool and if not, what account do you redirect e-mails to?
I got following warning : " This account is currently not available."
I'd suggest pondering these questions:
- Is /etc/at.deny|allow used? not used
- What loadavg is atd started with? <didnt used atd....just used batch -f"
- Is atd started with "-d" or are there at messages in syslog?
- What user ID submits the job to the queue and what user should the job really run as? apache submits the job. And apache should really run the job as all the temp files and folders are created by apache
- Does any user have "at" job mails in its mail spool and if not, what account do you redirect e-mails to? apache does have the job mails in its spool
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.