Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow resume the process any time by setting process id #19

Merged
merged 1 commit into from
Feb 11, 2017

Conversation

socieboy
Copy link
Contributor

With those updates we could execute a command save the pid on the database and if we need to do something while the process is running we can return and do something like that.

$process = new BackgroundProcess();
$process->setPid($my_process_id);
$process->stop();

With those updates  we could execute a command save the pid on the database and if we need to do something while the process is running we can return and do something like that.
```
$process = new BackgroundProcess();
$process->setPid($my_process_id);
$process->stop();
```
@socieboy
Copy link
Contributor Author

Anyone can help with that?

@florianeckerstorfer florianeckerstorfer merged commit db3c7b9 into cocur:master Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants