General :: Scheduling Script Using /etc/cron.d?
Mar 10, 2011
iam try to schedule my job in a file made in /etc/cron.d file as follows* * * * * tomcat6 /home/etika/Desktop/eka.sh /home/etika/Desktop/ea/etika.txt abc@gmail.comwhere eka.sh belongs to etika which is the root and etika.txt belong to tomcat6 this command is not running iam confused about the name of the owner written after the *'s please tell me whose name is written after the *'s(the schedule of the script) the owner of the script or the owner of the file which iam passing as an argument to the shell script
View 2 Replies
ADVERTISEMENT
Jan 9, 2011
I have a cron job to schedule the task on the third sunday of the month.I saw the previous threads but didn't find any solution.
How the cron syntax can be written.
View 14 Replies
View Related
Nov 10, 2010
Some of you are probably not going to believe this, but I've been using Linux for like four years and have never used cron for task scheduling before. Now I want to and I'm not sure how to do it. Could somebody link me to some good info? The results of a Google search were kinda confusing.
View 5 Replies
View Related
Jan 22, 2011
I have a script to record a weekly radio show from a Sydney radio station.I am in Brisbane.Sydney and Brisbane are both in the same time zone but Sydney(NSW) bounces around on daylight savings time and Brisbane(QLD) does not. Is there a way to specify a timezone for a specific job in the crontab file? If so what would be the format for Sydney so it follows the daylight savings time changes? Right now I will just change the cron schedule when Sydney goes on and off DST.
View 9 Replies
View Related
Sep 1, 2011
If I wanted to schedule a perl script to run every weekday at 1800 hours, should I setup a cron job. once I do so, if I want to cancel it, how do I undo it. Do I have to just type this at the shell prompt to set up:
Code:
0 18 * * 1-5 root /home/test.pl
View 9 Replies
View Related
May 28, 2009
kindly give me example of earliest deadline first scheduling?
View 5 Replies
View Related
Feb 11, 2011
i want to do scheduling using /etc/crontab file instead of using crontab -e that is crontab command on the terminal.i am appending to the crontab file in the /etc directory but the scheduling is not happening
View 7 Replies
View Related
Sep 8, 2010
is linux kernel is priority preemptive kernel?if it is. where it is using round robin scheduling algorithm?when processes are scheduled for the processor process will be allocated as which sechudling alogorithm?
View 1 Replies
View Related
Apr 23, 2010
I have played around a little bit with CGROUPS and the fair group scheduler ( using kernel version 2.6.31). When you have CGROUPS in a flat structure, with only one layer from the root-cgroup, everything works as you might expect when setting the cpu.shares parameter, i.e. a fraction of the total. But when I experimented with having deeper levels of CGROUPs it did'nt make any sense sometimes. For example, I had one CGROUP with the maximum number of shares (260000 something) , and two childgroups with quite little shares, 5000. Then I created some cpuhogging processes ( while(1); ) and put most of them in childgroups and one in the parentgroup. The logical thing would be if the parentgroups single process took almost all CPU-time, as it had the maximum number of shares, but instead the processes in the childgroups got the most CPU-time.
I have tried to figure out how it works by looking at the source code, but I can't really understand it. How does the hierarchical structure of the cgroup-tree interact with the flat aspect of it, i.e. siblings? Or do I misunderstand the whole concept?
View 1 Replies
View Related
May 1, 2010
How to modify kernel to non-preemptive process scheduling only. Suggest any site that provides this kind of source code.
View 1 Replies
View Related
Mar 2, 2011
am newbie and i have problem to write a scheduling script in java, this script should do something in certain time interval... Could anybody help me, maybe give some example or source that maybe useful
View 3 Replies
View Related
May 1, 2010
how to modify kernel source to make its process scheduling to non-preemptive and FCFS ?
View 2 Replies
View Related
May 20, 2010
Is there any way to schedule shutdown, from terminal,right after some currently running download in mozilla completes??
View 6 Replies
View Related
Oct 12, 2010
I am proposing moving from the mainframe to Linux. Problem is that I am not aware of a scheduling product that is available to handle the production code. Currently using CA7. Is there anything out there that accomplishes the same thing? As you can tell, I am NEW to Linux!
View 1 Replies
View Related
Apr 29, 2011
Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com
this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.
View 1 Replies
View Related
Jan 29, 2011
I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
View 3 Replies
View Related
Feb 25, 2010
It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:
Code:
ps -A | grep apt
showed it for a long time,
Code:
sudo tcpdump tcp
showed communication with canonical sites,
but:
Code:
top
did not show any apt using CPU
[code].....
View 2 Replies
View Related
Sep 19, 2010
I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.
View 2 Replies
View Related
Feb 16, 2010
I have set up a cron in /var/spool/cron/root
*/15 * * * * /usr/bin/phplist.sh
I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.
If I run /usr/bin/phplist.sh right in the shell it works great.
View 3 Replies
View Related
Feb 9, 2011
Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.
Code:
View 2 Replies
View Related
Mar 10, 2010
We are seeing some strange behavior on a Set top Box with the scheduling of tasks. We use 2.6.12 kernel. The issue is when we create a Task, say task1 with a priority of 46.But,this task is not Scheduled to run by the scheduler right away. It gets chance to run only after sometime. What we see here is that I create many other tasks with lower priority than task1,but they are immediately scheduled. Ideally, the task1 should have got scheduled before certain other low priority tasks as it has higher priority. Any patch is available wrt this?
View 3 Replies
View Related
May 3, 2011
I want to change linux scheduling algorithm for some of my processes but when I click on processes in ksysguard and click renice project, all of the processes use normal level cpu scheduling. Why is it such a thing and there is no priority?
View 2 Replies
View Related
Apr 1, 2010
how can I use sar in order to get information about the scheduling?
View 1 Replies
View Related
Apr 16, 2010
what is disk scheduling and how does it work? and how is it done in ubuntu 9.1
View 2 Replies
View Related
May 5, 2010
I am wondering about scheduling audio playback under Ubuntu. The background is this: My birthday is fast approaching, and I always try to do something to remember the best birthday gift I ever received, that being the Apollo 11 mission; Neil and Buzz landed on my 12th birthday.
Anyway, I have a wagonload of audio from nasa.gov and would like to schedule the MP3s to play in real time. 'at' won't do it, at least with 'mplayer'; I've tried. I suspect that because there is no controlling terminal for jobs run under 'at', the audio has no place to go. Is there some way to get a controlling terminal for these audio playback jobs, or specify a destination to some player?
View 1 Replies
View Related
Mar 23, 2011
I can not get 'crontab' to work.Below is the results of 'crontab -e':
Code:
10 * * * * /usr/bin/sigrot
0 18 * * 5 /usr/bin/tff-meeting-mail.sh
[code]....
View 2 Replies
View Related
May 24, 2011
I was searching for many time but haven't found any solution. Cron would be great, but it allows only steps in range 1-59 minutes. Is there any mode to run something exactly every 73 minutes?
The second i need (the same problem) to run program little more than every 12 hours, it might be in steps of 12 hours and 4 minutes (but 13 hours is much too much).
View 4 Replies
View Related
Feb 10, 2010
i think we can simulate preemption by using 2 different priority thread, am i true? I just try these scenario :
1. Create Thread A with priority 99 , SCHED_FIFO..
2. Create Thread B with priority 4 , SCHED_FIFO
Thread A started and doing some busy work.. I guess that Thread B wouldn't start until thread A finished, but I get thread B can run before Thread A finished (It just like a common task switching).. I'm sure my 2 thread has right priority. and if thread B is doing some work and if i yield it to thread A, it should preempt it but this doesnt happen, do someone kno wats happening?
View 1 Replies
View Related
Mar 23, 2010
I have a program which is uses sigaction to register for a SIGIO signal (for incoming data on a fd) with an appropriate event handler. I also create a new detached thread 'B' that does some work with the received data. Normally the thread B runs properly. But when my event handler is called (because a there is new incoming data), after the event is handled, the thread B is not called immediately. There is a noticeable delay of the order of many seconds before it is scheduled again .During this delay, my program is doing nothing.
What am i doing wrong? Is there someway i can run thread B as soon as the event is handled (and assuming no other work is to be carried out)?
View 3 Replies
View Related
Nov 24, 2010
Can anyone tell me where i can find patch for WFQ scheduling in ns2
View 3 Replies
View Related