Re: process not disappearing from proc tbl..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok...

 nohup /cloud_nfs/child_test.php  > /dev/null   &
 nohup /cloud_nfs/child_test.php  > /dev/null  2>&1  &

both appear to work... in this use case..

thanks!


On Mon, Nov 28, 2016 at 12:28 PM, bruce <badouglas@xxxxxxxxx> wrote:
> Hey guys..
>
> Maybe too much food over the weekend.. Maybe brain cells are fried!
>
> Created a basic/simple 5 line php test, It runs so chown/chmod are ok.
>
> However, when I then run it as a background process, and check the
> procTBL, the PID is there.. the process never leaves, unless I
> manually kill it.. so... what have I forgotten..  I know.. the homer
> simpson (doh!!) is going to be painful on this one..
>
> my test php
>
> ------------------------------
> #!/usr/bin/php
> <?php
>
> sleep(5);
> print "running child_test \n";
>
> exit();
> ?>
>
> -----------------------------
>
> running from the cmd line..
>
> /cloud_nfs/child_test.php     << runs fine, and not in procTBL after running..
>
> trying to background from the cmd line..
>
> /cloud_nfs/child_test.php  &    << never goes from procTBL unless
> manually killed
>
> /cloud_nfs/child_test.php  2>&1 &    << never goes from procTBL unless
> manually killed
>
> So.. what did I screw up to run in background, and be removed from procTBL..
>
>
>
> Thanks...
>
> (be nice!!)
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux