Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

schedule background jobs at OS level

Former Member
0 Kudos

Hi,

How to schedule background jobs at OS level.

Thanku

1 ACCEPTED SOLUTION

Former Member
0 Kudos

operating system is unix.

5 REPLIES 5

Former Member
0 Kudos

which OS you are using? and what type of background jobs you want to schedule? could you please elobrate your requiremnet.

Cheers,

-Sunil

Former Member
0 Kudos

Hello,

"schedule background jobs at OS level" -> do you mean the UNIX crontab daemon, at daemon, or similar?

If so, why did you post that in SAP SDN, anyway?

Regards, Tsvetomir

Former Member
0 Kudos

Hi,

if you want to start a job on the OS level, you can use transactions SM49/SM69, see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a606e505211d189550000e829fbbd/frameset.htm">docs on SM49</a> for more details.

If you want to start jobs inside the ABAP system from the OS, please haev a look at SAPEVT. See the docs on <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm">triggering events from external programs</a> for a detailed explanation.

regards,

Patrick

Former Member
0 Kudos

operating system is unix.

0 Kudos

hi,

can you please explain what is your requirement exactly i.e what job you want to run in background.

If the job is scheduled through command line just append ampersand '&' at the end and it will schedule it in background. you can schedule as many jobs as you want.

For seeing all the jobs scheduled in background give command

  1. jobs

It will show all the scheduled jobs output somewhat like this

[1]+ Running

[2]+ Running

To again run a particular job in foreground

  1. fg %1

to kill scheduled job

  1. kill %1

hope this helps..

cheers,

yatindra