12-28-2009
What happens is it seems to wrote the header and the first few records then stops on cron, but from putty it manages to finish the file and write the closing argument of the xml and echo file created.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I am trying to edit the crontab but I am not able to open it. I just get 863 but nothing opens.I tried crontab -l found some entries.
Could some please let me know if I am missing something. I am trying this on my application id. If I do it for my personal Id it works..
Thanks in... (2 Replies)
Discussion started by: venkyA
2 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone
I´m trying to edit my crontab, with the -e option and the only thing that appears its a number for example
crontab -e enter
75
I need to use crontol +d and appears the message that nothing changes in the crontab.
If I use crontab -l appears my list of crons.
Can... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
3. UNIX for Dummies Questions & Answers
Hi, I am trying to use a PHP script as a test for a cron job.
My crontab is 1 line:
30 * * * * /home/www/inc/crontab.php
if I test the file through the browser (ie. http://www.domain.com/inc/crontab.php), the PHP script works -- so there is nothing wrong with the PHP script itself or the... (5 Replies)
Discussion started by: Bobafart
5 Replies
4. Shell Programming and Scripting
when i run the scripts from command line like
php ./file.php they run fine and it ends.
But i have them running in crontab every 5 minutes and they sometimes dont close. Can i write something to log why or force them to close after a certain amount of time by killing the pid? (2 Replies)
Discussion started by: nitrous
2 Replies
5. UNIX for Advanced & Expert Users
I set up a simple echo script so I know its actually doing its job.
* * * * * echo hi >> /home/bob/Desktop/come
I have 3 video's I'm trying to play as a playlist at 8 am. I've checked in the terminal and as a regular script that this works fine. Right now I'm just trying to get it working so I'm... (7 Replies)
Discussion started by: cokedude
7 Replies
6. Shell Programming and Scripting
i want to run a script automatic in time there us problem coming while i was doing s simple test
i do in command prompt
cat > cmdfile
50 17 * * * echo "jtgtrgtrgjtrgg"
ctrl+d
then
crontab cmdfile
so this echo command should execute on 17:50
i check in /var/spool/cron/crontabs... (3 Replies)
Discussion started by: sayurabh
3 Replies
7. Shell Programming and Scripting
Hi,
I want to run a shell script for every 3 hours basis starting from 1 AM in the night.
Could you please help me out ,how to set a crontab.
0 01 * * * /shell script
Thx. (2 Replies)
Discussion started by: kirankumar
2 Replies
8. Linux
I want to run a php file from a url using cron tab.
I am using a webhosting and i give a command like that
9 11 9 2 * wget -O /dev/null here-is-domain-name/cronfile.php
but it does not work please tell me why this not work.
I think this command must run a "cronfile.php" and i do not want to... (2 Replies)
Discussion started by: ArfanHaider
2 Replies
9. UNIX for Advanced & Expert Users
Hello everyone,
I have a small problem that I'm stuck for several days and I do not go out.
I tell you, I have a php script that I want to run crontab, it uses a compiled bcompiler file.
In my php file
if(file_exists("php/Alibrary.phb")){
include_once("php/Alibrary.phb");
What I do... (6 Replies)
Discussion started by: nicolas33770
6 Replies
LEARN ABOUT DEBIAN
cdde.xml
cdde.xml(5) cdde.xml(5)
NAME
cdde.xml - Configuration file for cdde
DESCRIPTION
When cdde is run for the first time, an example xml configuration file (~/.cdde.xml) is created for you:
<?xml version="1.0"?>
<cdde delay="5000000">
<drive path="/dev/cdrom">
<audio command="echo An audio cd was inserted."/>
<data command="echo A data cd was inserted."/>
<dvd command="echo A dvd was inserted."/>
<vcd command="echo A vcd was inserted."/>
<svcd command="echo A svcd was inserted."/>
<blank command="echo A blank cdr/dvdr was inserted."/>
<mixed command="echo A mixed (audio/data) cd was inserted."/>
</drive>
</cdde>
This default file is not very useful, and so I suggest you to edit it to your needs before running cdde again. You may add as many drive
entries, or commands as you like. If multiple entries are found for a type of disc then all entries will be run in the order they are
found.
The specific device in use can be passed to the command with one of the following special tags:
%dev% - is replaced with the device name of the cdrom that
just had a disc inserted
%mnt% - is replaced with the listed mount point for the
cdrom that just had a disc inserted
Note: %mnt% is determined through your fstab (usually located in /etc) file. If you do not have a listing for each <drive> in the fstab
this will cause problems.
This way, you can tell your video player which device to use when playing a VCD, for example.
EXAMPLE
This is an example of ~/.cdde.xml file:
<?xml version="1.0"?>
<cdde delay="5000000">
<drive path="/dev/cdroms/cdrom0"/>
<audio command="xmms %mnt%"/>
<data command="mount %mnt%"/>
<dvd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -dvd 1"/>
<vcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<svcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<blank command="gcombust"/>
<mixed command="mount %mnt%"/>
</drive>
</cdde>
FILES
~/.cdde.xml
SEE ALSO
cdde(1)
AUTHORS
Eric Lathrop <eric@ericlathrop.com>
Stanislav Maslovski <stanislav.maslovski@gmail.com>
WEBSITE
For the latest release of cdde, see:
http://cdde.sourceforge.net/
Eric Lathrop 0.3.1 cdde.xml(5)