General discussion

Locked

Crontab processes

By vavazquez652 ·
How can I be sure or see my crontab processes after I started them on my crontab file

Thanks for your help !

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Crontab processes

by cpfeiffe In reply to Crontab processes

I assume you are trying to verify that the cron job has run? If that is all you want you can look at the cron log - /var/cron/log. If you are looking to receive error output then configure syslog to log cron.* to a location you want to review. Ifyou have more specific questions you can email my alias. Good luck.

Collapse -

Crontab processes

by vavazquez652 In reply to Crontab processes

Poster rated this answer

Collapse -

Crontab processes

by duffym In reply to Crontab processes

well if you want to see if the actual process is running then run ps aux and look through that list. That can produce a lot of output so i'd run ps aux | grep -i process or ps aux | grep -i username. That should shorten the list for you to scan

Collapse -

Crontab processes

by vavazquez652 In reply to Crontab processes

Poster rated this answer

Collapse -

Crontab processes

by ldisanto In reply to Crontab processes

ON Aix, simply enter crontab -l | pg and you'll see the file listed that has been submitted.

Collapse -

Crontab processes

by vavazquez652 In reply to Crontab processes

Poster rated this answer

Collapse -

Crontab processes

by brentlc In reply to Crontab processes

Something else worth doing is setting the process to email what every log (or a simple message to you) upon completion. You can do this by: cat filename|mailx -s "title" email address.

Collapse -

Crontab processes

by vavazquez652 In reply to Crontab processes

Poster rated this answer

Collapse -

Crontab processes

by D-CEd In reply to Crontab processes

To see them running:
ps -ef |grep <userid>

When setting up lines in your crontab, ensure you redirect output to a file. This way, you can simply check that file for the status of the run.

Collapse -

Crontab processes

by vavazquez652 In reply to Crontab processes

Poster rated this answer

Back to Linux Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums