Last modified: 2014-11-11 15:25:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73256 - Comment lines in crontab are modified if their first characters are not '#'
Comment lines in crontab are modified if their first characters are not '#'
Status: ASSIGNED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-11 09:54 UTC by Liangent
Modified: 2014-11-11 15:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2014-11-11 09:54:16 UTC
tools.liangent-php@tools-login:~$ php $HOME/mw/maintenance/getText.php --wiki=zhwiki 'User:Liangent-bot/crontab/liangent-php' | crontab -

NOTE: some crontab entries have been modified to grid submissions.
      You may want to examine the result with 'crontab -e'.

tools.liangent-php@tools-login:~$ diff <(php $HOME/mw/maintenance/getText.php --wiki=zhwiki 'User:Liangent-bot/crontab/liangent-php') <(crontab -l) -u
--- /dev/fd/63  2014-11-11 09:52:24.149593057 +0000
+++ /dev/fd/62  2014-11-11 09:52:24.149593057 +0000
@@ -1,4 +1,4 @@
- # sync: <code>php $HOME/mw/maintenance/getText.php --wiki=zhwiki '{{FULLPAGENAME}}' | crontab -</code>
+ # sync: <code>php $HOME/mw/maintenance/getText.php --wiki=zhwiki  /usr/bin/jsub -N cron-tools.liangent-php-1 -once -quiet '{{FULLPAGENAME}}' | crontab -</code> 
  # <syntaxhighlight lang="bash">
 # Edit this file to introduce tasks to be run by cron.
 # 
tools.liangent-php@tools-login:~$
Comment 1 Marc A. Pelletier 2014-11-11 15:25:45 UTC
That's a bug indeed; the parser should have ignored a comment preceeded by only whitespace as a comment.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links