atq details - cron/crontab
Hello,
I'm trying to use at command to submit shell scripts. The pb is when I issue atq or at -l I don't see the name of the script to execute. Is it possible to see it somewhere ? Is it stored in a file ? I used cron/crontab till now. But I have some problems with scripts where cron ends with an error saying "cannot execute binary file". My script are in bash and contain #!/bin/sh and a PATH and are executable. When I type sh my_script.sh they execute allright. Does someone have an idea on these subjects ? Thanks for any hint Nadine |
atq gives you the id and some more
use the id with at -c as below (id is the first number of the atq resul) at -c id give you a huge answer about what will be executed and the environment, so look at the last part of the answer which will be the script you type. Regards Tlowk |
Thanks tlowk.
I read the man page but it was not clear to me that this option had this function. They say -c cats the jobs listed on command line to standard output Now it's clear |
All times are GMT -5. The time now is 07:33 PM. |