Comments (2)
Hello @SimJoSt I'm sorry to hear your experience, I of course agree 100% that it should not be a breaking change in a not-major release.
I'm would love to fix this issue but looking at my code I don't understand how it does not include the migrated cronjob when first creating the section, I remember testing it as well but will try to recreate the issue myself later.
In the meantime you can perhaps look at the code responsible for the migration: https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L62-L74 I probably stared at it too much to see what could be wrong ;)
from deployer.
@SimJoSt I noticed your other issue (#3769) as well, I have the feeling there is something strange going on with the yaml config translation, I must admit that I have not used or seen that style of configuration before. Especially since you mention the default setting for the identifier. There is a default value set as can be seen here: https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L33-L35.
For reference, I use the following code:
$receivers = implode(" ", [
'scheduler_main_schedule',
]);
add('crontab:jobs', [
"30 1 * * * {{bin/php}} {{current_path}}/bin/console messenger:consume $receivers --time-limit=86400 >> /dev/null 2>&1",
]);
I've never even set the identifier and it works without issues. I might have time to investigate this more but I'm not sure when.
from deployer.
Related Issues (20)
- Downtime during deployment. Missing Composer autoload file. Failed to open stream: No such file or directory
- Nesting crontab config doesn't work
- Global installation no longer supported? HOT 2
- Support Symfony V6 HOT 2
- Ms-teams always reports branch as defined in server config, not actually used branch
- Handling of ProcessTimedOutException is unreliable
- Error handling multiple cachetool options when cachetool variable is empty HOT 7
- Magento 2: no assets generated when using custom magento_themes without split_static_deployment HOT 9
- Gitlab CI collapsible sections use unique section header name. HOT 1
- Deployer ignores given repository url
- Magento 2 Recipe: Cache prefix generated different cache prefixes when deploying to multiple hosts HOT 8
- Setup task randomly fails HOT 2
- Shopware recipe HOT 5
- Magento 2 Recipe: Use roles to execute DB tasks only on one server HOT 8
- contrib/rsync set('rsync_src', __DIR__); returns phar:///.../contrib/ HOT 2
- Git Error During Deployment HOT 4
- Restart from failed step HOT 3
- Incompatible declaration when using AWS SDK in deploy.php HOT 6
- Disabling parent group task will not disable all child tasks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deployer.