Quote:
Originally Posted by jschiwal
I don't know what you are looking for in /var/spool/at/. Perhaps you are confusing "at" with "cron" and getting /var/spool/atjobs/, or /var/spool/atspool/ wrong also.
The -g option is for gui mode which won't work in a cron job. If mondarchive outputs on stderr during it's operation you may need to redirect the output to prevent the job from being blocked.
Are you using cd-rw discs? If not the -w option may cause it to fail because it can't erase a cd-r disk. But your device /dev/cdrw indicates this is not the case.
Good Luck!
|
For -w option-> I'm using CDRW
For -g option-> It's a my mystake
I'm not confused "at with cron", I have only follow the howto instruction.
-------------- This is a crucial part of howto
Use the 'at' command to submit your usual mondoarchive command. My mondoarchive command is:
mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g \
-E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
To submit the mondoarchive command with 'at' do:
at now + 5 min
mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g \
-E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
<CTRL>-d
This generates a script in /var/spool/at/ which sets up your environment and runs your command. Grab this script to become your cron job.
--------------
I would like to know this: when I using the "at" command where are writed the scripts on my ubuntu breeze?
Otherwise: how can I launch mondoarchive with cron?